Skip to content

Commit

Permalink
chore: debugging for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Oct 20, 2020
1 parent 4272bc2 commit e47d36f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
git config --global user.email '[email protected]'
git config --global user.name 'ubclaunchpad-bot'
go run ./contrib/inertia-publish $(git describe --tags) --dryrun=false \
homebrew scoop \
homebrew scoop
1 change: 1 addition & 0 deletions contrib/inertia-publish/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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://%[email protected]/%s.git", creds, repository)
Expand Down

0 comments on commit e47d36f

Please sign in to comment.