Skip to content

Commit

Permalink
add translations update and changelog update to bin/release.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 20, 2015
1 parent 5eba575 commit d34eaf0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/release.pl
Expand Up @@ -77,6 +77,14 @@ sub updateCMakeLists {
my $relbranch = "release-${newmajor}_${newminor}";
my $reltag = "final-${newmajor}_${newminor}_0";

print "Pulling transifex translations...\n");
system( "scripts/pull_ts.sh" ) == 0 or die "pull_ts.sh failed";
system( "git commit -a -m \"translation update to $release from transifex\"") == 0 or die "could not commit translation updates";

print "Updating changelog...\n");
system( "scripts/create_changelog.sh" ) == 0 or die "create_changelog.sh failed";
system( "git commit -a -m \"changelog update for $release\"") == 0 or die "could not commit changelog update";

print "Creating branch...\n";
system( "git checkout -b $relbranch" ) == 0 or die "git checkout release branch failed";
updateCMakeLists($newmajor,$newminor,$releasename);
Expand Down

0 comments on commit d34eaf0

Please sign in to comment.