Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
release.pl: fix setting of new release name
  • Loading branch information
jef-n committed Jun 26, 2015
1 parent 6579722 commit a2470c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.pl
Expand Up @@ -159,7 +159,7 @@ ($$)
run( "git checkout -b $relbranch", "git checkout release branch failed" );
}

updateCMakeLists($newmajor,$newminor,$newpatch,$releasename);
updateCMakeLists($newmajor,$newminor,$newpatch,$newreleasename);

print "Updating version...\n";
run( "dch -r ''", "dch failed" );
Expand All @@ -176,7 +176,7 @@ ($$)
print "WARNING: NO images/splash/splash-release.xcf.bz2\n";
}

run( "git commit -a -m 'Release of $release ($releasename)'", "release commit failed" );
run( "git commit -a -m 'Release of $release ($newreleasename)'", "release commit failed" );
run( "git tag $reltag -m 'Version $release'", "release tag failed" );
run( "git tag $ltrtag -m 'Long term release $release'", "ltr tag failed" ) if $doltr;
} else {
Expand Down

0 comments on commit a2470c8

Please sign in to comment.