Skip to content

Commit

Permalink
Using rorversion from set env
Browse files Browse the repository at this point in the history
  • Loading branch information
westerbo-nhn committed Jan 27, 2025
1 parent 26e63d0 commit 0e19bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
node-version: '22.x'
- name: Build package
run: |
export VERSION=${ROR_VERSION#v*}
export VERSION=${${{ needs.setenv.outputs.rorversion}}#v*}
echo "Building ${{ env.PACKAGE_ORG }}/${{ env.PACKAGE_NAME }} ${VERSION} (${{ needs.setenv.outputs.shortsha}})"
mv package.json package-backup.json
jq --arg rorversion ${VERSION} --arg shortsha ${{ needs.setenv.outputs.shortsha}} '.version = $rorversion | .commit = $shortsha' package-backup.json > package.json
Expand Down

0 comments on commit 0e19bea

Please sign in to comment.