Skip to content

Commit

Permalink
chore: use "sed" instead of "cargo set-version" to change version (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain authored Oct 28, 2023
1 parent b5d3382 commit 7f7807e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
VERSION=$(echo ${{ github.ref_name }} | cut -b2-)
echo "Version: ${VERSION}"
cargo set-version ${VERSION}
sed -i 's/version = "0.0.0-git"/version = "'${VERSION}'"/' Cargo.toml
sed -i 's/version = "0.0.0-git"/version = "'${VERSION}'"/' Cargo.lock
- name: Create NPM package
run: |
Expand Down

0 comments on commit 7f7807e

Please sign in to comment.