diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 54cb608..f16286d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -31,9 +31,9 @@ jobs: echo "Release tag: $RELEASE_TAG" echo "Extracted version: $VERSION" - - name: Update package.json version + - name: Ensure package.json version matches release tag run: | - npm version ${{ steps.get_version.outputs.version }} --no-git-tag-version + npm version ${{ steps.get_version.outputs.version }} --no-git-tag-version --allow-same-version - name: Install dependencies run: npm ci