[Pkg-mozext-commits] [adblock-plus] 56/464: Updated release script to work with separate repositories for extensions/downloads/buildtools

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit c9895888022b37a0f5a36a8d810fdd2ebe133365
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Dec 11 22:09:20 2009 +0100

    Updated release script to work with separate repositories for extensions/downloads/buildtools
---
 make_release.pl | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/make_release.pl b/make_release.pl
index 7f74eda..e44b5eb 100644
--- a/make_release.pl
+++ b/make_release.pl
@@ -44,16 +44,20 @@ die $@ if $@;
 die "Failed to determine current directory name" unless cwd() =~ /([^\\\/]+)[\\\/]?$/;
 my $dir = $1;
 
-chdir('..');
-system("hg add downloads/$baseName-$version.xpi");
-system(qq(hg commit -m "Releasing $extensionName $version" downloads $dir));
+system("hg add -R ../downloads ../downloads/$baseName-$version.xpi");
+system(qq(hg commit -m "Releasing $extensionName $version"));
+system(qq(hg commit -R ../downloads -m "Releasing $extensionName $version"));
 
 my $branch = $version;
 $branch =~ s/\./_/g;
 $branch = $BRANCH_NAME."_".$branch."_RELEASE";
 system(qq(hg tag $branch));
+system(qq(hg tag -R ../downloads $branch));
+system(qq(hg tag -R ../buildtools $branch));
 
-#system(qq(hg push));
+system(qq(hg push));
+system(qq(hg push -R ../downloads));
+system(qq(hg push -R ../buildtools));
 
 sub readFile
 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list