Update Git version

Newer needed for openSUSE 16.0

Task-number: QTQAINFRA-7517
Change-Id: I636c0f293c78e8d8dcc0810c52589a0e7e809854
Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
Tero Heikkinen
2025-10-27 11:13:05 +02:00
parent 4f405340c5
commit 1abd2e7028
2 changed files with 5 additions and 4 deletions

View File

@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="2.36.1"
version="2.51.1"
officialUrl="https://github.com/git/git/archive/refs/tags/v$version.tar.gz"
cachedUrl="http://ci-files01-hki.ci.qt.io/input/git/git-$version.tar.gz"
targetFile="/tmp/git-$version.tar.gz"
sha="a17c11da2968f280a13832d97f48e9039edac354"
sha="8a9373d536699c695a58170512983f239ac61979"
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
sourceDir="/tmp/git-$version-source"
mkdir "$sourceDir"

View File

@@ -4,11 +4,12 @@
# Install Git
$version = "2.36.1"
$version = "2.51.1"
if (Is64BitWinHost) {
$arch = "-64-bit"
$sha1 = "594bdfc4e7704fb03fe14b7c0613087dfa3d4416"
$sha1 = "831c8968c709af0cbd20a634572b44293db43bec"
} else {
$version = "2.36.1"
$arch = "-32-bit"
$sha1 = "1bbe040254c236607ccb84e14a3f608b1a4e959a"
}