diff --git a/tools/upload_gitea.sh b/tools/upload_gitea.sh new file mode 100644 index 0000000..fa189d6 --- /dev/null +++ b/tools/upload_gitea.sh @@ -0,0 +1,9 @@ +#!/bin/bash +if [ -z ${GO_PIPELINE_LABEL} ]; then + echo "GO_PIPELINE_LABEL is not set. doing nothing" +else + curl --user ${gitea_user}:${gitea_token} \ + --upload-file NMReval-${GO_PIPELINE_LABEL}-x86_64.AppImage \ + https://gitea.pkm.physik.tu-darmstadt.de/api/packages/${gitea_user}/generic/NMReval/${GO_PIPELINE_LABEL}/NMReval-${GO_PIPELINE_LABEL}-x86_64.AppImage +fi +