diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 73bdc7bf..2a2f3f04 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,7 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: | + VERSION=${GITHUB_REF_NAME#v} cd ./dist/library - npm version ${{github.ref_name#ng-}} + npm version ${VERSION} npm publish --access=public