Skip to content

Commit d34eaf0

Browse files
committedFeb 20, 2015
add translations update and changelog update to bin/release.pl
1 parent 5eba575 commit d34eaf0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎scripts/release.pl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ sub updateCMakeLists {
7777
my $relbranch = "release-${newmajor}_${newminor}";
7878
my $reltag = "final-${newmajor}_${newminor}_0";
7979

80+
print "Pulling transifex translations...\n");
81+
system( "scripts/pull_ts.sh" ) == 0 or die "pull_ts.sh failed";
82+
system( "git commit -a -m \"translation update to $release from transifex\"") == 0 or die "could not commit translation updates";
83+
84+
print "Updating changelog...\n");
85+
system( "scripts/create_changelog.sh" ) == 0 or die "create_changelog.sh failed";
86+
system( "git commit -a -m \"changelog update for $release\"") == 0 or die "could not commit changelog update";
87+
8088
print "Creating branch...\n";
8189
system( "git checkout -b $relbranch" ) == 0 or die "git checkout release branch failed";
8290
updateCMakeLists($newmajor,$newminor,$releasename);

0 commit comments

Comments
 (0)
Please sign in to comment.