Skip to content

Commit dee3b73

Browse files
committed
git-artifacts: don't forget to commit MINGW-packages, if needed
When building from a tag, the version in mingw-w64-git's `PKGBUILD` will be changed as part of the build. We already had code intending to publish that change, but we forgot to commit it before building a Git bundle, which does not work... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 49ba767 commit dee3b73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/git-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ jobs:
318318
then
319319
echo "::warning::Uncommitted changes after build!" >&2 &&
320320
git diff >&2 &&
321+
git commit -s -m "mingw-w64-git: new version ($version)" PKGBUILD &&
321322
git bundle create "$b"/MINGW-packages.bundle main^..main
322323
fi)
323324
- name: Cache ${{env.MINGW_PACKAGE_PREFIX}}-git

0 commit comments

Comments
 (0)