Skip to content

Commit e4446dc

Browse files
Bump Git version on Windows to 2.51.1.windows.1 (#1081)
* chore: Update the Git Package Windows patch for Windows Server Core Made with ❤️️ by updatecli * chore: Update the Git Package Windows patch for Windows Nanoserver Made with ❤️️ by updatecli * chore: Update the Git Windows version for Windows Nanoserver Made with ❤️️ by updatecli * chore: Update the Git Windows version for Windows Server Core Made with ❤️️ by updatecli --------- Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a49900d commit e4446dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

windows/nanoserver/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ COPY --from=pwsh-source $PSHOME $PSHOME
5656
SHELL ["pwsh.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
5757
USER ContainerAdministrator
5858

59-
ARG GIT_VERSION=2.51.0
60-
ARG GIT_PATCH_VERSION=2
59+
ARG GIT_VERSION=2.51.1
60+
ARG GIT_PATCH_VERSION=1
6161
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `
6262
# The patch "windows.1" always have a different URL than the subsequent patch (ZIP filename is different)
6363
if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); } `

windows/windowsservercore/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ COPY --from=jdk-core $JAVA_HOME $JAVA_HOME
4848

4949
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
5050

51-
ARG GIT_VERSION=2.51.0
52-
ARG GIT_PATCH_VERSION=2
51+
ARG GIT_VERSION=2.51.1
52+
ARG GIT_PATCH_VERSION=1
5353
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `
5454
# The patch "windows.1" always have a different URL than the subsequent patch (ZIP filename is different)
5555
if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); } `

0 commit comments

Comments
 (0)