no git tag
Some checks failed
Deploy / Publish (push) Failing after 18s

This commit is contained in:
skeris 2025-05-10 22:08:43 +03:00
parent 51b9cf2510
commit 09572603d5

@ -24,15 +24,13 @@ jobs:
npm config set registry=https://registry.npmjs.org/ npm config set registry=https://registry.npmjs.org/
npm config set -- '//gitea.pena/api/packages/skeris/npm/:_authToken' "1856e802057f59193ca6fdb4068cbea44982bcc2" npm config set -- '//gitea.pena/api/packages/skeris/npm/:_authToken' "1856e802057f59193ca6fdb4068cbea44982bcc2"
npm install --force npm install --force
git stash
if [ "${{ github.ref }}" == "refs/heads/main" ]; then if [ "${{ github.ref }}" == "refs/heads/main" ]; then
npm version major npm version major --no-git-tag-version
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
npm version minor npm version minor --no-git-tag-version
else else
npm version patch npm version patch --no-git-tag-version
fi fi
git stash pop
npm publish npm publish