publish on latest tag

This commit is contained in:
Jacob Overgaard
2023-05-26 15:43:50 +02:00
parent 395ed82559
commit b0ceeac3a9

View File

@@ -37,6 +37,6 @@ jobs:
SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-8)
npm whoami
npm version 1.0.0-next.$SHA_SHORT --allow-same-version --no-git-tag-version
npm publish --tag next --access public
npm publish --tag latest --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}