Skip to content

Commit

Permalink
chore: Also update Cargo.lock when updating version in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Jan 26, 2025
1 parent c3ebe09 commit 5b4ef2e
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 @@ -112,6 +112,7 @@ jobs:
for toml in $(find . -name "Cargo.toml"); do
sed -i "s/^version = \".*\"/version = \"$VERSION\"/" "$toml"
done
cargo check
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
Expand All @@ -122,7 +123,7 @@ jobs:
commit-message: "chore: bump version to ${{ needs.create-release.outputs.version }}"
title: "chore: bump version to ${{ needs.create-release.outputs.version }}"
body: |
Updates version in Cargo.toml files to match the latest release.
Updates version in Cargo.toml+lock files to match the latest release.
This PR was automatically created by the release workflow.
branch: bump-version-${{ needs.create-release.outputs.version }}
Expand Down

0 comments on commit 5b4ef2e

Please sign in to comment.