Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

--HG--
branch : production-0.8
  • Loading branch information...
commit 05b80b24e1afdbe32fc8220335d96c04efa7f7c9 1 parent 4faab1b
authored January 11, 2012

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. 15  process/factory.py
15  process/factory.py
@@ -4963,6 +4963,21 @@ def createPatches(self):
4963 4963
          description=['patcher:', 'create patches'],
4964 4964
          haltOnFailure=True
4965 4965
         ))
  4966
+        # XXX: For Firefox 10 betas we want the appVersion in the snippets to
  4967
+        #      show a version change with each one, so we change them from the
  4968
+        #      the appVersion (which is always "10.0") to "11.0", which will
  4969
+        #      trigger the new behaviour, and allows betas to update to newer
  4970
+        #      ones.
  4971
+        if self.productName == 'firefox' and self.version.startswith('10.0b'):
  4972
+            cmd = ['bash', WithProperties('%(toolsdir)s/release/edit-snippets.sh'),
  4973
+                   'appVersion', '11.0']
  4974
+            cmd.extend(self.dirMap.keys())
  4975
+            self.addStep(ShellCommand(
  4976
+             name='switch_appv_in_snippets',
  4977
+             command=cmd,
  4978
+             haltOnFailure=True,
  4979
+             workdir=self.updateDir,
  4980
+            ))
4966 4981
 
4967 4982
     def createBuildNSnippets(self):
4968 4983
         command = ['python',

0 notes on commit 05b80b2

Please sign in to comment.
Something went wrong with that request. Please try again.