Commit 7be64dde authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

another try

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent 74e6d35d
......@@ -101,12 +101,13 @@ def get_languages():
def main():
languages = get_languages()
for lang in languages:
if lang['code'] not in LANGUAGE_CODES:
language_code = lang['code'].lower()
if language_code not in LANGUAGE_CODES:
print("Error: main")
print("Invalid Language Code " + lang['code'])
print("Invalid Language Code " + language_code)
exit(1)
upload_language(lang['code'])
file = download_language(lang['code'])
upload_language(language_code)
file = download_language(language_code)
deploy_to_artifactory(ARTIFACTORY_USER, ARTIFACTORY_PASS, ARTIFACTORY_URL, ARTIFACTORY_PATH, file)
print("Success")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment