This commit is contained in:
parent
51b9cf2510
commit
09572603d5
@ -24,15 +24,13 @@ jobs:
|
||||
npm config set registry=https://registry.npmjs.org/
|
||||
npm config set -- '//gitea.pena/api/packages/skeris/npm/:_authToken' "1856e802057f59193ca6fdb4068cbea44982bcc2"
|
||||
npm install --force
|
||||
git stash
|
||||
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
|
||||
npm version major
|
||||
npm version major --no-git-tag-version
|
||||
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
|
||||
npm version minor
|
||||
npm version minor --no-git-tag-version
|
||||
else
|
||||
npm version patch
|
||||
npm version patch --no-git-tag-version
|
||||
fi
|
||||
git stash pop
|
||||
npm publish
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user