Skip to content

Commit

Permalink
. e remove the prefix 'v' from npm version numbers #150
Browse files Browse the repository at this point in the history
Fixes #150

Co-Authored-By: Clare Macrae <[email protected]>
  • Loading branch information
isidore and claremacrae committed Oct 31, 2023
1 parent 0e41ea8 commit b0e01eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: set version
run: |
TEMP_FILE=$(mktemp)
jq ".version |= \"${{ steps.version.outputs.tag }}\"" package.json > "$TEMP_FILE" || exit 1
mv "$TEMP_FILE" package.json
./updateVersion.sh ${{ steps.version.outputs.tag }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: ${{ steps.version.outputs.tag }}
Expand Down

0 comments on commit b0e01eb

Please sign in to comment.