Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
cherry-pick 3b4078fbff5e onto production-0.8 so 10.0b4 works
Browse files Browse the repository at this point in the history
--HG--
branch : production-0.8
  • Loading branch information
John Ford committed Jan 11, 2012
1 parent 4faab1b commit 05b80b2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions process/factory.py
Expand Up @@ -4963,6 +4963,21 @@ def createPatches(self):
description=['patcher:', 'create patches'], description=['patcher:', 'create patches'],
haltOnFailure=True 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): def createBuildNSnippets(self):
command = ['python', command = ['python',
Expand Down

0 comments on commit 05b80b2

Please sign in to comment.