more flags
Some checks failed
Gitea Actions Demo / nfp_moe (push) Failing after -83h55m46s
continuous-integration/appveyor/branch AppVeyor build succeeded

This commit is contained in:
Jonatan Nilsson 2023-11-05 03:59:25 +00:00
parent 1f8431a4a1
commit a818c4ad87

View file

@ -17,6 +17,7 @@ jobs:
echo "Checking https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases for name ${CURR_NAME}" echo "Checking https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases for name ${CURR_NAME}"
set -o pipefail set -o pipefail
set -e
curl -s -X GET -H "Authorization: token ${{ secrets.deploytoken }}" https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases | grep -o "\"name\"\:\"${CURR_NAME}\"" > /dev/null curl -s -X GET -H "Authorization: token ${{ secrets.deploytoken }}" https://git.nfp.is/api/v1/repos/${{ gitea.repository }}/releases | grep -o "\"name\"\:\"${CURR_NAME}\"" > /dev/null
if [ $? -eq 0 ] ; then if [ $? -eq 0 ] ; then
@ -24,6 +25,7 @@ jobs:
exit 0; exit 0;
fi fi
set +o pipefail set +o pipefail
set +e
echo "New release ${CURR_VER} found, running npm install..." echo "New release ${CURR_VER} found, running npm install..."
mv package.json fuck-you-npm-package.json mv package.json fuck-you-npm-package.json