File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: test
33on :
44 pull_request :
55 branches :
6- - master
6+ - main
77
88jobs :
99 build-mac :
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ import (
1515// Version of the CLI.
1616// This is set to the actual version by GoReleaser, identify by the
1717// git tag assigned to the release. Versions built from source will
18- // always show master .
19- var Version = "master "
18+ // always show main .
19+ var Version = "main "
2020
2121// Template for the version string.
2222var Template = fmt .Sprintf ("hookdeck version %s\n " , Version )
2323
2424// CheckLatestVersion makes a request to the GitHub API to pull the latest
2525// release of the CLI
2626func CheckLatestVersion () {
27- // master is the dev version, we don't want to check against that every time
28- if Version != "master " {
27+ // main is the dev version, we don't want to check against that every time
28+ if Version != "main " {
2929 s := ansi .StartNewSpinner ("Checking for new versions..." , os .Stdout )
3030 latest := getLatestVersion ()
3131
You can’t perform that action at this time.
0 commit comments