From 57ecff478b55f94015335c30e8ebac57903b3bdc Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Tue, 7 Feb 2023 01:03:05 +0100 Subject: [PATCH] silence curl in upload script --- tools/upload_gitea.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/upload_gitea.sh b/tools/upload_gitea.sh index 60f2043..d484c50 100755 --- a/tools/upload_gitea.sh +++ b/tools/upload_gitea.sh @@ -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