diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 4e857afd..baf453fc 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -49,7 +49,7 @@ jobs: echo "Latest NPM version: $LATEST_VERSION" npm version $LATEST_VERSION npm version ${{ inputs.version_bump }} - NEW_VERSION=$(jq -r .name package.json) + NEW_VERSION=$(jq -r .version package.json) echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT" - name: Publish to NPM run: yarn publish-package