Skip to content

Commit

Permalink
Fix git push new patch branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Petras committed Sep 16, 2020
1 parent 6a6286b commit 0aafe46
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ func projectCreatePatch(project internal.Project, commitMessage, patchTag, branc

if !skipPush {
//internal.ExecGitCmd("git", "push", "origin", "refs/heads/*:refs/heads/*")
if len(project.Filename()) > 0 {
internal.ExecGitCmd("git", "push")
}
internal.ExecGitCmd("git", "push", "-u", "origin", branchName)
} else {
log.Info("Skip git push for project patch version: " + branchName)
Expand Down

0 comments on commit 0aafe46

Please sign in to comment.