diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 44f490af..d33153fc 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -47,4 +47,4 @@ jobs: git config --global user.email 'team+bot@ubclaunchpad.com' git config --global user.name 'ubclaunchpad-bot' go run ./contrib/inertia-publish $(git describe --tags) --dryrun=false \ - homebrew scoop \ + homebrew scoop diff --git a/contrib/inertia-publish/main.go b/contrib/inertia-publish/main.go index 36f3d4a8..05b16474 100644 --- a/contrib/inertia-publish/main.go +++ b/contrib/inertia-publish/main.go @@ -77,6 +77,7 @@ func newCommand(dir, name string, args ...string) *exec.Cmd { func getCloneURL(repository string) string { // GIT_CREDENTIALS should be $USER:$TOKEN if creds := os.Getenv("GIT_CREDENTIALS"); creds != "" { + println("Using GIT_CREDENTIALS to clone") // "Personal access tokens can only be used for HTTPS Git operations."" // https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token#using-a-token-on-the-command-line return fmt.Sprintf("https://%s@github.com/%s.git", creds, repository)