From b7337c76acd67b7a24f64200ba0b765ae0984f27 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Thu, 2 Feb 2023 18:45:18 +0100 Subject: [PATCH] changed packages destination --- tools/upload_gitea.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/upload_gitea.sh b/tools/upload_gitea.sh index 81d6017..a19421e 100755 --- a/tools/upload_gitea.sh +++ b/tools/upload_gitea.sh @@ -4,33 +4,34 @@ if [ -z ${GO_PIPELINE_LABEL} ]; then else APPIMAGE=NMReval-${GO_PIPELINE_LABEL}-x86_64.AppImage ZSYNC=NMReval-${GO_PIPELINE_LABEL}-x86_64.AppImage.zsync + GITEA_OWNER=IPKM-Public # # AppImage # # versioned curl --user ${gitea_user}:${gitea_token} \ --upload-file $APPIMAGE \ - https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/${GO_PIPELINE_LABEL}/$APPIMAGE + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/${GO_PIPELINE_LABEL}/$APPIMAGE # latest curl --user ${gitea_user}:${gitea_token} --delete \ - https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage curl --user ${gitea_user}:${gitea_token} \ --upload-file $APPIMAGE \ - https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage # # zsync files # # versioned curl --user ${gitea_user}:${gitea_token} \ --upload-file $ZSYNC \ - https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/${GO_PIPELINE_LABEL}/$ZSYNC + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/${GO_PIPELINE_LABEL}/$ZSYNC # latest curl --user ${gitea_user}:${gitea_token} --delete \ - https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage.zsync + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage.zsync curl --user ${gitea_user}:${gitea_token} \ --upload-file $ZSYNC \ - https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage.zsync + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage.zsync fi