Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-git-for-windows: accept both .rc and -rc versions #392

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

PhilipOakley
Copy link
Contributor

@PhilipOakley PhilipOakley commented Nov 16, 2021

Recent versions of Git-for-Windows have .rc versions rather than the
-rc versions used previously.

Accept both dash and dotted forms of release candidate version strings,
and add tests, for the .rc version.

This fixes git-for-windows/git#1843

Recent versions of Git-for-Windows have .rc versions rather than the
-rc versions used previously.

Accept both dash and dotted forms of release candidate version strings,
and add tests, for the .rc version.

Signed-off-by: Philip Oakley <[email protected]>
@PhilipOakley
Copy link
Contributor Author

This PR passes the test of git-update-git-for-windows --test-version-compare.
There maybe other issues that others can see.

Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@dscho dscho merged commit f25e8f8 into git-for-windows:main Nov 17, 2021
@dscho
Copy link
Member

dscho commented Nov 17, 2021

git-extra is being built here.

@dscho
Copy link
Member

dscho commented Nov 17, 2021

The build succeeded. The next snapshot will have the fix.

@PhilipOakley
Copy link
Contributor Author

Magic. Also my local update of the code produced the prompt for update this morning as well (as would be expected).

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.

git command update-git-for-windows does not work when rc releases are installed
2 participants