More fixes
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
Gitea Actions Demo / nfp_moe (push) Successful in -83h57m6s

This commit is contained in:
Jonatan Nilsson 2023-11-05 03:42:13 +00:00
parent 0dc752d52f
commit 9b128b3768

View file

@ -21,6 +21,7 @@ jobs:
echo "Skipping ${{ gitea.job }} since $CURR_NAME already exists"; echo "Skipping ${{ gitea.job }} since $CURR_NAME already exists";
exit 0; exit 0;
fi fi
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
mv build-package.json package.json mv build-package.json package.json
@ -29,8 +30,10 @@ jobs:
mv package.json build-package.json mv package.json build-package.json
mv fuck-you-npm-package.json package.json mv fuck-you-npm-package.json package.json
chmod +x ../7zas
../7zas a -xr!*.xcf -mx9 "${CURR_VER}_build-sc.7z" package.json index.mjs api base public ../7zas a -xr!*.xcf -mx9 "${CURR_VER}_build-sc.7z" package.json index.mjs api base public
echo "Creating release on gitea"
echo "Creating ${CURR_VER} release on gitea"
RELEASE_RESULT=$(curl \ RELEASE_RESULT=$(curl \
-X POST \ -X POST \
-H "Authorization: token ${{ secrets.deploytoken }}" \ -H "Authorization: token ${{ secrets.deploytoken }}" \