Skip to content

Commit 11ba6f4

Browse files
committed
git: fix the pkgver
In 363b1e7 (git: drop the commit hash from pkgver for MSYS2 compatibility, 2025-11-14), I dropped the auto-updating logic of `pkgver`, forgetting that Git for Windows' automation would not update that line. As a consequence, the Pacman packages built as part of Git for Windows' v2.53.0 release process incorrectly reference the previous pkgver and the Git for Windows SDKs do not enjoy the update. Let's fix that by switching to a Bash'ism (which is fine, given that `makepkg` contains _so many_ Bash'isms that it is highly implausible that it will ever work with any other Unix shell). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 85dd204 commit 11ba6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mingw-w64-git/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
1818
"${MINGW_PACKAGE_PREFIX}-${_realname}-gui"
1919
"${MINGW_PACKAGE_PREFIX}-${_realname}-for-windows-addons")
2020
tag=2.53.0.windows.1
21-
pkgver=2.52.0.1
21+
pkgver=${tag/.windows./.}
2222
pkgrel=1
2323
pkgdesc="The fast distributed version control system (mingw-w64)"
2424
arch=('any')

0 commit comments

Comments
 (0)