fixed versions in upload script
This commit is contained in:
parent
f44eb3b58d
commit
e35287e025
@ -83,10 +83,11 @@ if __name__ == "__main__":
|
|||||||
secret = os.environ["s3_secret"]
|
secret = os.environ["s3_secret"]
|
||||||
host = "mirror.infra.pkm:9000"
|
host = "mirror.infra.pkm:9000"
|
||||||
bucket = "nmreval-appimage"
|
bucket = "nmreval-appimage"
|
||||||
appimage_version = yaml.safe_load(open("AppImageBuilder.yml"))["AppDir"]["app_info"]["version"]
|
if "GO_PIPELINE_LABEL" in os.environ:
|
||||||
filenames = [f"NMReval-{appimage_version}-x86_64.AppImage",
|
appimage_version = os.environ["GO_PIPELINE_LABEL"]
|
||||||
f"NMReval-{appimage_version}-x86_64.AppImage.zsync",
|
else:
|
||||||
]
|
appimage_version = yaml.safe_load(open("AppImageBuilder.yml"))["AppDir"]["app_info"]["version"]
|
||||||
|
print(f"Uploading NMReval-{appimage_version}-x86_64.AppImage and .zsync")
|
||||||
upload(key, secret, host, bucket,
|
upload(key, secret, host, bucket,
|
||||||
f"NMReval-{appimage_version}-x86_64.AppImage")
|
f"NMReval-{appimage_version}-x86_64.AppImage")
|
||||||
upload(key, secret, host, bucket,
|
upload(key, secret, host, bucket,
|
||||||
|
Loading…
Reference in New Issue
Block a user