Skip to content

Commit

Permalink
ci: run jq in raw mode to avoid quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Feb 3, 2023
1 parent 83868cf commit 10dfa02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
run: |
release_upload_url="$(cat artifacts/release-upload-url)"
echo "RELEASE_UPLOAD_URL=$release_upload_url" >> $GITHUB_ENV
release_version=$(cargo metadata --format-version 1 | jq '.packages[] | select( .name == "docgen") | .version')
release_version=$(cargo metadata --format-version 1 | jq -r '.packages[] | select( .name == "docgen") | .version')
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
- name: Show end
Expand Down

0 comments on commit 10dfa02

Please sign in to comment.