From 99fdd3114829cd4c2f8aa62b7f8ca57fe19f29b0 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Wed, 25 Mar 2026 20:31:07 -0500 Subject: [PATCH] chore: update workflows --- .github/workflows/version.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index e39e0e3..3fa0386 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -94,6 +94,10 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add Cargo.toml - git commit -m "chore(release): v${new_version}" + if git diff --cached --quiet; then + echo "Cargo.toml already at v${new_version}, skipping commit" + else + git commit -m "chore(release): v${new_version}" + fi git tag "v${new_version}" git push origin main --tags