More fixes
This commit is contained in:
parent
0dc752d52f
commit
9b128b3768
1 changed files with 4 additions and 1 deletions
|
@ -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 }}" \
|
||||||
|
|
Loading…
Reference in a new issue