[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 179/483: Generalized release script and moved it out of extension directories as well.

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:38 UTC 2015


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

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

commit 09f19c8e4d9464f9adbb83528ad063055015dfff
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Aug 28 15:28:40 2009 +0200

    Generalized release script and moved it out of extension directories as well.
---
 make_release.pl | 34 ++++++----------------------------
 1 file changed, 6 insertions(+), 28 deletions(-)

diff --git a/make_release.pl b/make_release.pl
index 9060b60..532d425 100644
--- a/make_release.pl
+++ b/make_release.pl
@@ -1,32 +1,10 @@
 #!/usr/bin/perl
 
-#############################################################################
-# This is the release automation script, it will change current extension   #
-# version, create release builds and commit it all into Mercurial. Usually  #
-# you just want to create a build - use make_devbuild.pl for this.          #
-#############################################################################
+# This is a dummy, its purpose is to call a script with the same name in the parent directory
 
-use strict;
+our $BRANCH_NAME = "ELEMENT_HIDING_HELPER";
 
-die "Version number not specified" unless @ARGV;
-
-my $version = $ARGV[0];
-$version =~ s/[^\w\.]//gs;
-
-open(VERSION, ">version");
-print VERSION $ARGV[0];
-close(VERSION);
-
- at ARGV = ("../downloads/elemhidehelper-$version.xpi");
-do './create_xpi.pl';
-
-chdir('..');
-system("hg add downloads/elemhidehelper-$version.xpi");
-system(qq(hg commit -m "Releasing Element Hiding Helper $version" downloads elemhidehelper));
-
-my $branch = $version;
-$branch =~ s/\./_/g;
-$branch = "ELEMENT_HIDING_HELPER_".$branch."_RELEASE";
-system(qq(hg tag $branch));
-
-system(qq(hg push));
+$0 =~ s/(.*[\\\/])//g;
+chdir($1) if $1;
+do "../$0";
+die $@ if $@;

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



More information about the Pkg-mozext-commits mailing list