Skip to content

Commit 0e3a0ab

Browse files
authored
Merge pull request #168 from replicatedhq/fix
fix env var to match default in kots starter
2 parents 6d03a6c + 0c98934 commit 0e3a0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/release_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (r *runners) gitSHABranch() (sha string, branch string, dirty bool, err err
8888
branchName := head.Name().Short()
8989

9090
// for GH Actions, prefer env branch
91-
envBranch := os.Getenv("GITHUB_BRANCH")
91+
envBranch := os.Getenv("GITHUB_BRANCH_NAME")
9292
if envBranch != "" {
9393
branchName = envBranch
9494
}

0 commit comments

Comments
 (0)