summaryrefslogtreecommitdiff
path: root/makepkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'makepkg.py')
-rwxr-xr-xmakepkg.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/makepkg.py b/makepkg.py
index 9796ce3..52e0eae 100755
--- a/makepkg.py
+++ b/makepkg.py
@@ -42,7 +42,7 @@ PUBLISH_MANIFEST = '''<?xml version="1.0" encoding="utf-8" ?>
<IsJsonExtension>true</IsJsonExtension>
<CompanyName>Microsoft</CompanyName>
<SupportedOS>Linux</SupportedOS>
- <Regions>{2}</Regions>
+ <!--%REGIONS%-->
</ExtensionImage>
'''
@@ -60,12 +60,6 @@ family = 'Test'
if len(sys.argv) > 1:
family = sys.argv[1]
-region = 'South Central US'
-if len(sys.argv) > 2:
- cloud = sys.argv[2]
- if cloud == 'BlackForest':
- region = 'Germany Central'
-
def do(*args):
try:
subprocess.check_output(args, stderr=subprocess.STDOUT)
@@ -100,8 +94,7 @@ with open(manifest_path, mode='w') as manifest:
print("Writing {0}".format(publish_manifest_path))
with open(publish_manifest_path, mode='w') as publish_manifest:
publish_manifest.write(PUBLISH_MANIFEST.format(AGENT_VERSION,
- family,
- region))
+ family))
cwd = os.getcwd()