Skip to content

Commit

Permalink
fix: custom provided branch names also get normalized on PUSH command
Browse files Browse the repository at this point in the history
  • Loading branch information
RaVbaker committed Jan 12, 2021
1 parent 3e019f7 commit 09b2f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/speccontext/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewGitContext(specTag, origin, author, branch, commitSHA string) GitContext
gitContext.Author = author
}
if len(branch) != 0 {
gitContext.Branch = branch
gitContext.Branch = normalizeBranchName(branch)
}
if specTag == BranchSpecTag {
if len(gitContext.Branch) != 0 {
Expand Down

0 comments on commit 09b2f54

Please sign in to comment.