Replies: 2 comments
-
Yes, this is intentional. Our tags start with the tag naming system git/git uses, so We then attach a You can probably achieve what you where trying to do using something like
|
Beta Was this translation helpful? Give feedback.
-
The best idea might be to use https://gitforwindows.org/latest-64-bit-installer.url. Unfortunately, GitHub Pages do not support redirects, therefore this is probably what you'll want to call: curl -o Git-installer.exe $(curl -s https://gitforwindows.org/latest-64-bit-installer.url) |
Beta Was this translation helpful? Give feedback.
-
Recently I have included Git for Windows in a Dockerfile. I was hoping to make the version manageable via a build argument, like
GIT_VERSION=2.33.0.2
and inject it into the URL to retrieve the installerhttps://github.com/git-for-windows/git/releases/download/v${GIT_VERSION}windows/Git-${GIT_VERSION}-64-bit.exe
. The problem with the this is that the URL is actually something like.../download/v2.33.0.windows.2/...
instead of.../download/v2.33.0.2windows/...
. Is this intentional? It seems strange, the installer follows the formatGit-2.33.0.2-64-bit.exe
. If this is intentional, any recommendations of how to deal with this in Docker?Thanks
Beta Was this translation helpful? Give feedback.
All reactions