forked from IPKM/nmreval
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"]
|
||||
host = "mirror.infra.pkm:9000"
|
||||
bucket = "nmreval-appimage"
|
||||
appimage_version = yaml.safe_load(open("AppImageBuilder.yml"))["AppDir"]["app_info"]["version"]
|
||||
filenames = [f"NMReval-{appimage_version}-x86_64.AppImage",
|
||||
f"NMReval-{appimage_version}-x86_64.AppImage.zsync",
|
||||
]
|
||||
if "GO_PIPELINE_LABEL" in os.environ:
|
||||
appimage_version = os.environ["GO_PIPELINE_LABEL"]
|
||||
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,
|
||||
f"NMReval-{appimage_version}-x86_64.AppImage")
|
||||
upload(key, secret, host, bucket,
|
||||
|
Loading…
Reference in New Issue
Block a user