Skip to content

Commit

Permalink
Update Cargo again. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio authored Aug 27, 2024
1 parent b050e0d commit 3292f88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
# Update the version in Cargo.toml
TAG_NAME="${{ github.event.release.tag_name }}"
TAG_NAME="${TAG_NAME#v}"
if [[ "${{ runner.os }}" == "macos-latest" ]]; then
sed -i "" "s/^version = .*/version = \"$TAG_NAME\"/" Cargo.toml
if [[ "${{ runner.os }}" == "macOS" ]]; then
sed -i"" -e "s/^version = .*/version = \"$TAG_NAME\"/" Cargo.toml
else
sed -i "s/^version = .*/version = \"$TAG_NAME\"/" Cargo.toml
sed -i -e "s/^version = .*/version = \"$TAG_NAME\"/" Cargo.toml
fi
- uses: taiki-e/upload-rust-binary-action@v1
with:
Expand Down

0 comments on commit 3292f88

Please sign in to comment.