Skip to content

Commit 10c52ba

Browse files
authored
Merge pull request #79 from hookdeck/chore/master-to-main
chore: update default branch to main
2 parents 09388f2 + 94225bf commit 10c52ba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: test
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
build-mac:

pkg/version/version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
2222
var 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
2626
func 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

0 commit comments

Comments
 (0)