Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Oct 26, 2024

Changes

Accommodate for Git for Windows' "intermediate" versions in the script that wants to update the download data.

Context

Git for Windows' versions are usually based on upstream Git versions, and hence uses the same version string.

Every once in a while, an extra, intermediate version is required, in which case Git for Windows appends an extra number in parentheses, starting with 2 (implying that regular Git for Windows versions are implicitly "(1)"), at least where parentheses can be used (otherwise it appends it separated by a dot).

It was noticed that the current v2.47.0(2) was not picked up by git-scm.com, and that users kept downloading v2.47.0.

…ion format

Git for Windows' versions are usually based on upstream Git versions,
and hence uses the same version string.

Every once in a while, an extra version is required, in which case Git
for Windows appends an extra number in parentheses, starting with 2
(implying that regular Git for Windows versions are implicitly "(1)"),
at least where parentheses can be used (otherwise it appends it
separated by a dot).

Accommodate for such versions in the script that wants to update the
download data.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho self-assigned this Oct 26, 2024
Updated via the `update-download-data.yml` GitHub workflow.
@dscho
Copy link
Member Author

dscho commented Oct 26, 2024

For the record, the second commit was added via this GitHub workflow that I triggered manually to demonstrate that this fix works. That same run deployed the site to https://dscho.github.io/git-scm.com/downloads/win, where the fix can be verified manually.

@dscho dscho marked this pull request as ready for review October 26, 2024 06:28
@dscho
Copy link
Member Author

dscho commented Oct 26, 2024

@rimrul would you mind reviewing this?

@dscho dscho merged commit 3dab4c6 into git:gh-pages Oct 27, 2024
@dscho dscho deleted the fix-updating-windows-download-data branch October 27, 2024 05:59
filename: Git-2.47.0-32-bit.exe
release_date: '2024-10-08'
version: 2.47.0
url: https://github.com/git-for-windows/git/releases/download/v2.47.0.windows.1/Git-2.47.0-32-bit.exe

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants