[Pkg-mozext-commits] [adblock-plus] 330/464: Release automation: Removed tagging of downloads and buildtools repository, it's pointless now that subrepos are used
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:30 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 264ae676fdd82435d6c547f94c1929801bce9ffe
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Nov 21 14:45:17 2012 +0100
Release automation: Removed tagging of downloads and buildtools repository, it's pointless now that subrepos are used
---
releaseAutomationGecko.py | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/releaseAutomationGecko.py b/releaseAutomationGecko.py
index da6478f..5a9c35b 100644
--- a/releaseAutomationGecko.py
+++ b/releaseAutomationGecko.py
@@ -36,7 +36,6 @@ def run(baseDir, version, keyFile, downloadsRepo, buildtoolsRepo):
extensionName = locales[packager.defaultLocale]['name']
metadata = packager.readMetadata(baseDir)
- branchName = metadata.get('general', 'branchname')
# Now commit the change and tag it
subprocess.Popen(['hg', 'commit', '-R', baseDir, '-m', 'Releasing %s %s' % (extensionName, version)]).communicate()
@@ -68,16 +67,10 @@ def run(baseDir, version, keyFile, downloadsRepo, buildtoolsRepo):
archive.close()
archiveHandle.close()
- # Now add the downloads, commit and tag the downloads repo
- tagName = '%s_%s_RELEASE' % (branchName, version.replace('.', '_'))
+ # Now add the downloads and commit
subprocess.Popen(['hg', 'add', '-R', downloadsRepo, buildPath, archivePath]).communicate()
subprocess.Popen(['hg', 'commit', '-R', downloadsRepo, '-m', 'Releasing %s %s' % (extensionName, version)]).communicate()
- subprocess.Popen(['hg', 'tag', '-R', downloadsRepo, '-f', tagName]).communicate()
-
- # Tag buildtools repository as well
- subprocess.Popen(['hg', 'tag', '-R', buildtoolsRepo, '-f', tagName]).communicate()
# Push all changes
subprocess.Popen(['hg', 'push', '-R', baseDir]).communicate()
subprocess.Popen(['hg', 'push', '-R', downloadsRepo]).communicate()
- subprocess.Popen(['hg', 'push', '-R', buildtoolsRepo]).communicate()
--
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