Skip to content

Commit

Permalink
Cargo changed their format, so we need to change our parsing of versi…
Browse files Browse the repository at this point in the history
…on numbers (#1238)
  • Loading branch information
danielsn authored May 31, 2022
1 parent 58043f7 commit 6213b0b
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 @@ -22,7 +22,7 @@ jobs:
- name: Get version
run: |
# pkgid is something like file:///home/ubuntu/kani#kani-verifier:0.1.0
echo "CRATE_VERSION=$(cargo pkgid | cut -d: -f3)" >> $GITHUB_ENV
echo "CRATE_VERSION=$(cargo pkgid | cut -d@ -f2)" >> $GITHUB_ENV
# GITHUB_REF is refs/tags/kani-0.1.0
echo "TAG_VERSION=$(echo ${{ github.ref }} | cut -d "-" -f 2)" >> $GITHUB_ENV
# Note that the above env vars get set for future steps, not this one
Expand Down

0 comments on commit 6213b0b

Please sign in to comment.