Add-commit the state.json and whatnot in one shot

This commit is contained in:
Graham Christensen 2025-05-14 17:57:35 -04:00
parent fbd616d075
commit 565e8e464d

View file

@ -25,10 +25,8 @@ jobs:
extra-commands-early: | extra-commands-early: |
nix develop -c ./tools/update-state.sh "v$VERSION" nix develop -c ./tools/update-state.sh "v$VERSION"
git diff || true git diff || true
git add tools/state.json git commit -m "Update the state.json for v$VERSION" ./tools/state.json
git commit -m "Update the state.json for v$VERSION"
nix develop -c ./tools/generate.sh nix develop -c ./tools/generate.sh
git add README.md action.yml git commit -m "Update README.md and action.yml for v$VERSION" README.md action.yml
git commit -m "Update README.md and action.yml for v$VERSION"
echo "Checking there is no remaining diff..." echo "Checking there is no remaining diff..."
git diff --exit-code git diff --exit-code