Permalink
Browse files

cherry-pick 3b4078fbff5e onto production-0.8 so 10.0b4 works

--HG--
branch : production-0.8
  • Loading branch information...
1 parent 4faab1b commit 05b80b24e1afdbe32fc8220335d96c04efa7f7c9 @jhford jhford committed Jan 11, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 process/factory.py
View
@@ -4963,6 +4963,21 @@ def createPatches(self):
description=['patcher:', 'create patches'],
haltOnFailure=True
))
+ # XXX: For Firefox 10 betas we want the appVersion in the snippets to
+ # show a version change with each one, so we change them from the
+ # the appVersion (which is always "10.0") to "11.0", which will
+ # trigger the new behaviour, and allows betas to update to newer
+ # ones.
+ if self.productName == 'firefox' and self.version.startswith('10.0b'):
+ cmd = ['bash', WithProperties('%(toolsdir)s/release/edit-snippets.sh'),
+ 'appVersion', '11.0']
+ cmd.extend(self.dirMap.keys())
+ self.addStep(ShellCommand(
+ name='switch_appv_in_snippets',
+ command=cmd,
+ haltOnFailure=True,
+ workdir=self.updateDir,
+ ))
def createBuildNSnippets(self):
command = ['python',

0 comments on commit 05b80b2

Please sign in to comment.