Skip to content

Commit 0d44da2

Browse files
committed
Raw jq for actual version
1 parent cb86beb commit 0d44da2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/releases.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- id: commit
2020
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
2121
- id: tag
22-
run: echo "tag=@actions/${{ github.event.inputs.package }}@$(cat packages/${{ github.event.inputs.package }}/package.json | jq .version)" >> "$GITHUB_OUTPUT"
22+
run: echo "tag=@actions/${{ github.event.inputs.package }}@$(cat packages/${{ github.event.inputs.package }}/package.json | jq -r .version" >> "$GITHUB_OUTPUT"
2323

2424
- name: verify package exists
2525
run: ls packages/${{ github.event.inputs.package }}

.github/workflows/tag-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- id: commit
1515
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
1616
- id: tag
17-
run: echo "tag=@actions/http-client-$(cat packages/http-client/package.json | jq .version)-test-tag" >> "$GITHUB_OUTPUT"
17+
run: echo "tag=@actions/http-client@$(cat packages/http-client/package.json | jq -r .version)-test-tag" >> "$GITHUB_OUTPUT"
1818
publish:
1919
runs-on: macos-latest
2020
needs: test

0 commit comments

Comments
 (0)