Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/bin/createNightlies.py

Issue 29527692: Noissue - Fix version number for Web Extensions development builds (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Created Aug. 25, 2017, 11:54 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/bin/createNightlies.py
===================================================================
--- a/sitescripts/extensions/bin/createNightlies.py
+++ b/sitescripts/extensions/bin/createNightlies.py
@@ -100,17 +100,17 @@ class NightlyBuild(object):
return subprocess.check_output(command).strip()
def getCurrentBuild(self):
"""
calculates the (typically numerical) build ID for the current build
"""
command = ['hg', 'id', '-n', '--config', 'defaults.id=', self.tempdir]
build = subprocess.check_output(command).strip()
- if self.config.type == 'gecko':
+ if self.config.type in {'gecko', 'gecko-webext'}:
build += '-beta'
return build
def getChanges(self):
"""
retrieve changes between the current and previous ("first") revision
"""
command = [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld