Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Luehrsen committed Mar 29, 2022
1 parent 74ca333 commit a6112d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ jobs:
- name: 🔼 Bump version
run: npm version ${{ github.event.inputs.version }} -m 'Tagging %s'

- name: Get new version
- name: ⚙️ Get new version
id: version
run: echo "::set-output name=version::$(npm pkg get version)"
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"

- name: Push the version to git
run: |
Expand Down

0 comments on commit a6112d6

Please sign in to comment.