diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 23daf22..34454ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,6 +22,15 @@ jobs: registry-url: 'https://registry.npmjs.org' cache: 'npm' + - name: Update package.json version from release tag + uses: cssnr/update-version-tags-action@v1.2.0 # Use the latest version of the action + with: + # Optional: Commit the changes back to the repository (defaults to true) + commit: false + + # Optional: Push the changes back to the repository (defaults to true) + push: false + # Ensure npm 11.5.1 or later is installed - name: Update npm run: npm install -g npm@latest