Skip to content

Commit

Permalink
Ensure versions in Cargo.toml match the version in tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio committed Aug 27, 2024
1 parent e9e5515 commit c32b58c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: |
# Update the version in Cargo.toml
GITHUB_REF="${GITHUB_REF#v}"
sed -i "s/^version = .*/version = \"$GITHUB_REF\"/" Cargo.toml
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: gc-rust
Expand Down

0 comments on commit c32b58c

Please sign in to comment.