version = defaultVersion;
}
if (!version.equals(currentVersion)) {
mvnSetVersions(version);
gitCommit(commitMessages.getReleaseStartMessage());
<BUG>}
gitCheckout(gitFlowConfig.getProductionBranch());</BUG>
gitMerge(gitFlowConfig.getDevelopmentBranch(), releaseRebase,
<BUG>releaseMergeNoFF);
if (!skipTag) {</BUG>
if (tychoBuild && ArtifactUtils.isSnapshot(version)) {

version = defaultVersion;
}
if (!version.equals(currentVersion)) {
mvnSetVersions(version);
gitCommit(commitMessages.getReleaseStartMessage());
}
if (notSameProdDevName()) {
gitCheckout(gitFlowConfig.getProductionBranch());
gitMerge(gitFlowConfig.getDevelopmentBranch(), releaseRebase,
releaseMergeNoFF);
}
if (!skipTag) {
if (tychoBuild && ArtifactUtils.isSnapshot(version)) {
