Skip to content

Commit 76a5ae8

Browse files
committed
fix version fetch
1 parent e7570f3 commit 76a5ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-feature-branch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ jobs:
344344
shell: bash
345345
run: |
346346
set -euxo pipefail
347-
old_version="$(jq -r .version package.json)"
347+
old_version="$(tar -xOf ./artifacts/package.tgz package/package.json | jq -r .version)"
348348
version="$old_version-$(git rev-parse --short HEAD)"
349349
npm version $version
350350
tag="${{ github.ref_name }}"

0 commit comments

Comments
 (0)