| Index: releaseAutomationGecko.py |
| =================================================================== |
| rename from releaseAutomation.py |
| rename to releaseAutomationGecko.py |
| --- a/releaseAutomation.py |
| +++ b/releaseAutomationGecko.py |
| @@ -1,17 +1,17 @@ |
| # coding: utf-8 |
| # This Source Code is subject to the terms of the Mozilla Public License |
| # version 2.0 (the "License"). You can obtain a copy of the License at |
| # http://mozilla.org/MPL/2.0/. |
| import os, re, subprocess, tarfile |
| from StringIO import StringIO |
| -import buildtools.packager as packager |
| +import buildtools.packagerGecko as packager |
| def run(baseDir, version, keyFile, downloadsRepo, buildtoolsRepo): |
| # Replace version number in metadata file "manually", ConfigParser will mess |
| # up the order of lines. |
| handle = open(packager.getMetadataPath(baseDir), 'rb') |
| rawMetadata = handle.read() |
| handle.close() |
| versionRegExp = re.compile(r'^(\s*version\s*=\s*).*', re.I | re.M) |