0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

chore: disable latest releases on branch 5.x

This commit is contained in:
Juan Picado 2024-09-20 18:25:41 +02:00
parent 02f1efabb6
commit b9294021c1
2 changed files with 2 additions and 1 deletions

View file

@ -40,6 +40,7 @@ jobs:
images: ${{ github.repository }} images: ${{ github.repository }}
tag-custom: 5.x-next tag-custom: 5.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/5.x' }} tag-custom-only: ${{ github.ref == 'refs/heads/5.x' }}
tag-latest: false
tag-semver: | tag-semver: |
{{version}} {{version}}
{{major}} {{major}}

View file

@ -10,4 +10,4 @@ echo "Bumping version to new tag: ${lastTag}"
echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc
# Publish to NPM # Publish to NPM
npm publish --registry https://$REGISTRY_URL/ npm publish --registry https://$REGISTRY_URL/ --tag latest-5