Skip to content

Commit

Permalink
rust: Fix CI overwriting dependency versions in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanCoding committed Aug 20, 2024
1 parent 65586e8 commit dcf3d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: set version
if: startsWith(github.ref, 'refs/tags/rs')
run: |
sed -i "s/version = \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/version = \"$RELEASE_VERSION\"/g" ./rust/Cargo.toml
sed -i "s/^version = \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/version = \"$RELEASE_VERSION\"/g" ./rust/Cargo.toml
- name: publish crates.io package
if: startsWith(github.ref, 'refs/tags/rs')
Expand Down

0 comments on commit dcf3d67

Please sign in to comment.