[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 66/483: Uploading script to release EHH

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:27 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 e93184af3ec1d620724eeebe67d0c4f2f0c4179f
Author: Wladimir Palant <trev at gtchat.de>
Date:   Mon Jan 22 23:06:25 2007 +0000

    Uploading script to release EHH
    
    --HG--
    extra : convert_revision : svn%3Ad8bf93c1-8190-44a8-bb31-1ea94378a4df/trunk%40671
---
 make_release.pl | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/make_release.pl b/make_release.pl
new file mode 100644
index 0000000..9ed96a7
--- /dev/null
+++ b/make_release.pl
@@ -0,0 +1,30 @@
+#!/usr/bin/perl
+
+use strict;
+
+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';
+
+opendir(LOCALES, "chrome/locale");
+my @locales = grep {!/[^\w\-]/ && !/CVS/} readdir(LOCALES);
+closedir(LOCALES);
+
+# Create new single-locale builds
+for my $locale (@locales)
+{
+  @ARGV = ("../../downloads/elemhidehelper-$version-$locale.xpi", $locale);
+  do 'create_xpi.pl';
+}
+
+chdir('../..');
+system("cvs add downloads/elemhidehelper-$version.xpi");
+system(qq(cvs commit -m "Releasing Element Hiding Helper $version"));

-- 
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