Skip to content

Commit 2ec1e96

Browse files
Update version reading in release workflow
1 parent 2636476 commit 2ec1e96

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
id: pkg_version
4747
shell: bash
4848
run: |
49-
echo "version=v$(node -p \"require('./package.json').version\")" >> "$GITHUB_OUTPUT"
49+
VERSION=$(node -e "console.log(require('./package.json').version)")
50+
echo "version=v${VERSION}" >> "$GITHUB_OUTPUT"
5051
5152
# ── Rust ────────────────────────────────────────────────────────────────
5253
- name: Setup Rust toolchain

0 commit comments

Comments
 (0)