version = version.replace("-" + Artifact.SNAPSHOT_VERSION,
"");
}
gitTag(gitFlowConfig.getVersionTagPrefix() + version,
commitMessages.getTagReleaseMessage());
<BUG>}
gitCheckout(gitFlowConfig.getDevelopmentBranch());
String nextSnapshotVersion = null;</BUG>
try {
final DefaultVersionInfo versionInfo = new DefaultVersionInfo(

version = version.replace("-" + Artifact.SNAPSHOT_VERSION,
"");
}
gitTag(gitFlowConfig.getVersionTagPrefix() + version,
commitMessages.getTagReleaseMessage());
}
if (notSameProdDevName()) {
gitCheckout(gitFlowConfig.getDevelopmentBranch());
}
String nextSnapshotVersion = null;
try {
final DefaultVersionInfo versionInfo = new DefaultVersionInfo(
