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 # AppImage
# #
# versioned # versioned
curl --user ${gitea_user}:${gitea_token} \ curl -sS --user ${gitea_user}:${gitea_token} \
--upload-file $APPIMAGE \ --upload-file $APPIMAGE \
https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/${GO_PIPELINE_LABEL}/$APPIMAGE https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/${GO_PIPELINE_LABEL}/$APPIMAGE
# latest # 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 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 \ --upload-file $APPIMAGE \
https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/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 # zsync files
# #
# versioned # versioned
curl --user ${gitea_user}:${gitea_token} \ curl -sS --user ${gitea_user}:${gitea_token} \
--upload-file $ZSYNC \ --upload-file $ZSYNC \
https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/${GO_PIPELINE_LABEL}/$ZSYNC https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/generic/NMReval/${GO_PIPELINE_LABEL}/$ZSYNC
# latest # 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 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 \ --upload-file $ZSYNC \
https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${GITEA_OWNER}/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 fi