Index: releaseAutomation.py |
diff --git a/releaseAutomation.py b/releaseAutomation.py |
index cd06e9df57751ba4785ee5df73570664cf915d5f..2e8f62667ce7f6b1bf2d7d188b1ef31398567df8 100644 |
--- a/releaseAutomation.py |
+++ b/releaseAutomation.py |
@@ -119,9 +119,7 @@ def run(baseDir, type, version, keyFile, downloadsRepo): |
print('Aborting release.') |
return 1 |
- if type == 'safari': |
- import buildtools.packagerSafari as packager |
- elif type == 'edge': |
+ if type == 'edge': |
import buildtools.packagerEdge as packager |
elif type == 'chrome': |
import buildtools.packagerChrome as packager |
@@ -152,7 +150,7 @@ def run(baseDir, type, version, keyFile, downloadsRepo): |
# Now commit the change and tag it |
subprocess.check_call(['hg', 'commit', '-R', baseDir, '-m', 'Releasing %s %s' % (extensionName, version)]) |
tag_name = version |
- if type in {'safari', 'edge'}: |
+ if type == 'edge': |
tag_name = '{}-{}'.format(tag_name, type) |
subprocess.check_call(['hg', 'tag', '-R', baseDir, '-f', tag_name]) |
@@ -166,10 +164,6 @@ def run(baseDir, type, version, keyFile, downloadsRepo): |
buildPathUnsigned = os.path.join(baseDir, getDefaultFileName(metadata, version, 'zip')) |
packager.createBuild(baseDir, type=type, outFile=buildPathUnsigned, releaseBuild=True, keyFile=None) |
- elif type == 'safari': |
- buildPath = os.path.join(downloadsRepo, getDefaultFileName(metadata, version, 'safariextz')) |
- packager.createBuild(baseDir, type='safari', outFile=buildPath, releaseBuild=True, keyFile=keyFile) |
- downloads.append(buildPath) |
elif type == 'edge': |
# We only offer the Edge extension for use through the Windows Store |
buildPath = os.path.join(downloadsRepo, getDefaultFileName(metadata, version, 'appx')) |