Skip to content

Commit

Permalink
Manually fetching package.json version (#1018)
Browse files Browse the repository at this point in the history
Co-authored-by: Reinier Cruz <[email protected]>
  • Loading branch information
ReinierCC and ReinierCC authored Oct 23, 2024
1 parent f7d2dbc commit 4a6e7c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ jobs:
- name: Build
run: npm run webpack

- name: Get current package version
- name: Get current version from package.json
id: package_version
uses: martinbeentjes/npm-get-version-action@3cf273023a0dda27efcd3164bdfb51908dd46a5b # v1.3.1
run: |
VERSION=$(jq -r '.version' package.json)
echo "current-version=$VERSION" >> $GITHUB_OUTPUT
JobsPublish:
Expand Down

0 comments on commit 4a6e7c6

Please sign in to comment.