We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 270bd6b commit 8c73abeCopy full SHA for 8c73abe
1 file changed
.github/workflows/release.yml
@@ -54,9 +54,10 @@ jobs:
54
id: version
55
working-directory: packages/charts
56
run: |
57
- NEW_VERSION=$(npm version ${{ inputs.version_bump }} --no-git-tag-version)
58
- echo "version=${NEW_VERSION#v}" >> "$GITHUB_OUTPUT"
59
- echo "tag=${NEW_VERSION}" >> "$GITHUB_OUTPUT"
+ npm version ${{ inputs.version_bump }} --no-git-tag-version > /dev/null
+ VERSION=$(node -p "require('./package.json').version")
+ echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
60
+ echo "tag=v${VERSION}" >> "$GITHUB_OUTPUT"
61
62
- name: Copy package files
63
run: node ./packages/charts/scripts/move_txt_files.js
0 commit comments