Skip to content

Commit

Permalink
Fix/bump package json version (#387)
Browse files Browse the repository at this point in the history
* bump package.json version on release

* move Bump package.json version
  • Loading branch information
felixerdy authored Jan 8, 2021
1 parent a68a2e7 commit cb69a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- name: Bump package.json version
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
run: |
# steps.branch_info.outputs.branch_name equals version tag on release
npm version ${{ steps.branch_info.outputs.branch_name }}
# ${GITHUB_REF##*/} equals version tag on release
npm version ${GITHUB_REF##*/}
- name: Install project dependencies
run: |
Expand Down

0 comments on commit cb69a8f

Please sign in to comment.