Skip to content

Commit

Permalink
Fix version extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
rlebran committed Sep 1, 2023
1 parent ef9c3c1 commit a69d17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Get release info
id: release_info
run: |
version=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | select(.name | .version')
version=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[] | .version')
prerelease=false
if [[ "$version" =~ .*-.* ]]; then
prerelease=true
Expand Down

0 comments on commit a69d17e

Please sign in to comment.