Remove dot from authUser.
continuous-integration/drone/push Build is passing Details

master
Thomas Bellembois 2 years ago
parent 7ecfaaa221
commit f54aac2511

@ -4,6 +4,7 @@ import (
"flag" "flag"
"fmt" "fmt"
"os" "os"
"strings"
"github.com/go-resty/resty/v2" "github.com/go-resty/resty/v2"
) )
@ -80,9 +81,10 @@ func main() {
} }
if devel { if devel {
authUser = "thomas.bellembois" authUser = "thomasbellembois"
} else { } else {
authUser = os.Getenv("DRONE_REPO_OWNER") authUser = os.Getenv("DRONE_REPO_OWNER")
authUser = strings.ReplaceAll(authUser, ".", "")
} }
if len(authUser) == 0 { if len(authUser) == 0 {

Loading…
Cancel
Save