Skip to content

Commit 491328b

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 fcc6cc1 commit 491328b

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
@@ -315,6 +315,7 @@ jobs:
315315
then
316316
echo "::warning::Uncommitted changes after build!" >&2 &&
317317
git diff >&2 &&
318+
git commit -s -m "mingw-w64-git: new version ($version)" PKGBUILD &&
318319
git bundle create "$b"/MINGW-packages.bundle main^..main
319320
fi)
320321
- name: Cache ${{env.MINGW_PACKAGE_PREFIX}}-git

0 commit comments

Comments
 (0)