-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: debugging for release workflow
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|