mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Update release script to regenerate Cargo.lock after version bump
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b1ab7bbe66
commit
168de2a070
1 changed files with 4 additions and 1 deletions
|
|
@ -41,7 +41,10 @@ fi
|
|||
sed -i '' "s/^version = \"$current_version\"/version = \"$new_version\"/" "$CARGO_TOML"
|
||||
echo "Updated $CARGO_TOML"
|
||||
|
||||
git add "$CARGO_TOML"
|
||||
cargo update --workspace
|
||||
echo "Updated Cargo.lock"
|
||||
|
||||
git add "$CARGO_TOML" Cargo.lock
|
||||
git commit -m "Bump version to $new_version"
|
||||
git tag -a "$tag" -m "$tag"
|
||||
git push origin main "$tag"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue