Skip to content

Commit

Permalink
Change the set version mechanism in release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Oct 31, 2023
1 parent 25c4b4a commit 2827b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
dotnet workload install wasm-tools
dotnet workload install wasm-experimental
- name: Set version in package.json
run: npm version ${{ github.ref_name }}
run: cat <<< $(jq -r ".version = \"${GITHUB_REF_NAME}\"" package.json) > package.json
- name: Build the package
run: npm ci && npm run clean && npm run build
- name: Publish to npmjs.com
Expand Down

0 comments on commit 2827b82

Please sign in to comment.