Skip to content

Commit

Permalink
Push tag on hotfix if it isn't pushed with branch - closes #349
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-m committed Jun 2, 2022
1 parent 64aa964 commit ae3e628
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,11 @@ && notSameProdDevName()) { // if no release branch
}
}

// push tag
if (!skipTag && skipMergeDevBranch && skipMergeProdBranch && StringUtils.isBlank(releaseBranch)) {
gitPush(gitFlowConfig.getVersionTagPrefix() + tagVersion, false);
}

if (!keepBranch) {
gitPushDelete(hotfixBranchName);
}
Expand Down

0 comments on commit ae3e628

Please sign in to comment.