From 565e8e464d6a0986796d42b3f01833e055848d64 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 14 May 2025 17:57:35 -0400 Subject: [PATCH] Add-commit the state.json and whatnot in one shot --- .github/workflows/propose-release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/propose-release.yml b/.github/workflows/propose-release.yml index 723fa78..5dedae2 100644 --- a/.github/workflows/propose-release.yml +++ b/.github/workflows/propose-release.yml @@ -25,10 +25,8 @@ jobs: extra-commands-early: | nix develop -c ./tools/update-state.sh "v$VERSION" git diff || true - git add tools/state.json - git commit -m "Update the state.json for v$VERSION" + git commit -m "Update the state.json for v$VERSION" ./tools/state.json nix develop -c ./tools/generate.sh - git add README.md action.yml - git commit -m "Update README.md and action.yml for v$VERSION" + git commit -m "Update README.md and action.yml for v$VERSION" README.md action.yml echo "Checking there is no remaining diff..." git diff --exit-code