1
0
forked from IPKM/nmreval
nmreval/tools/upload_gitea.sh

10 lines
369 B
Bash
Raw Normal View History

#!/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