tagVersion = currentVersion.replace("-"
+ Artifact.SNAPSHOT_VERSION, "");
}
gitTag(gitFlowConfig.getVersionTagPrefix() + tagVersion,
commitMessages.getTagReleaseMessage());
<BUG>}
gitCheckout(gitFlowConfig.getDevelopmentBranch());
gitMerge(releaseBranch, releaseRebase, releaseMergeNoFF);
String nextSnapshotVersion = null;</BUG>
try {

tagVersion = currentVersion.replace("-"
+ Artifact.SNAPSHOT_VERSION, "");
}
gitTag(gitFlowConfig.getVersionTagPrefix() + tagVersion,
commitMessages.getTagReleaseMessage());
}
if (notSameProdDevName()) {
gitCheckout(gitFlowConfig.getDevelopmentBranch());
gitMerge(releaseBranch, releaseRebase, releaseMergeNoFF);
}
String nextSnapshotVersion = null;
try {
