1
0
forked from IPKM/nmreval

silence curl in upload script

This commit is contained in:
Markus Rosenstihl 2023-02-07 01:03:05 +01:00
parent 2229b2905a
commit 57ecff478b

View File

@ -9,28 +9,28 @@ else
# AppImage
#
# versioned
curl --user ${gitea_user}:${gitea_token} \
curl -sS --user ${gitea_user}:${gitea_token} \
--upload-file $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} -X DELETE \
curl -sS --user ${gitea_user}:${gitea_token} -X DELETE \
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} \
curl -sS --user ${gitea_user}:${gitea_token} \
--upload-file $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} \
curl -sS --user ${gitea_user}:${gitea_token} \
--upload-file $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} -X DELETE \
curl -sS --user ${gitea_user}:${gitea_token} -X DELETE \
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} \
curl -sS --user ${gitea_user}:${gitea_token} \
--upload-file $ZSYNC \
https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/latest/NMReval-latest-x86_64.Appimage.zsync
fi