Skip to content

Commit 7bf415d

Browse files
pmcmawekohl
andauthored
Update .github/workflows/auto_release.yml
updating jq for metadata.json Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
1 parent b73c185 commit 7bf415d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if: ${{ github.repository_owner == 'puppetlabs' }}
4747
id: gv
4848
run: |
49-
echo "::set-output name=ver::$(cat metadata.json | jq .version | tr -d \")"
49+
echo "::set-output name=ver::$(jq --raw-output .version metadata.json)"
5050
5151
- name: "Commit changes"
5252
if: ${{ github.repository_owner == 'puppetlabs' }}

0 commit comments

Comments
 (0)