From 437f7f9e40b48b93b1a79705a1a56f9fb424bef9 Mon Sep 17 00:00:00 2001 From: Weston Blieden Date: Fri, 21 Aug 2026 13:24:33 +0200 Subject: [PATCH] Keep build output out of the version bump commit --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1885234..b08e7ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,7 +91,10 @@ jobs: set -euo pipefail git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add -A ':!releases' + # Packages are already uploaded as an artifact; removing them here + # keeps build output out of the commit regardless of .gitignore. + rm -rf releases + git add -A if git diff --cached --quiet; then echo "nothing to commit" exit 0