diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d6aa211..ebdb4b8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -26,7 +26,7 @@ jobs: registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build - - run: npm version from-git + - run: npm version ${GITHUB_REF/refs\/tags\//} - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}