ci: Added step to release flow to update the Cargo.toml version

This commit is contained in:
2025-08-29 11:13:32 -06:00
parent 126ed5ed72
commit ae9cb77e6d
+2 -2
View File
@@ -88,9 +88,9 @@ jobs:
- name: Bump Cargo.toml version - name: Bump Cargo.toml version
run: | run: |
sed -i "s/^version = \".*\"/version = \"${{ env.version }}\"/" Cargo.toml sed -E -i '/^name = "managarr"$/ { n; s|^version = "[^"]*"|version = "'"${{ env.version }}"'"| }' Cargo.toml
cargo update cargo update
git add Cargo.toml git add Cargo.toml Cargo.lock
git commit -m "chore: Bump the version in Cargo.toml" git commit -m "chore: Bump the version in Cargo.toml"
- name: Generate changelog for the version bump - name: Generate changelog for the version bump