-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
[Bug]: GitForWindows not returning correct (full) version number #511
Comments
I have updated Evergreen twice since this update - I'm now running the latest Evergreen v2307.816
I'm wondering if the version needs to be worked out using a better RegEx to capture the version number from the URI
|
Not sure if this helps, but I have been using the following in my script to return the latest 'full' version number:
|
Add support for replacing text in tag/version string returned from the target repo #511
Thanks @aaronparker really appreciate the effort |
@aaronparker, Sorry to return back this earlier issue... I raised a bug with the Git for Windows developers today due to their 'choice' of populating the FileVersion attribute on their executables and dlls with a 5 part version number 🤯 I therefore believe the code you have to determine the Git for Windows version probably needs to be tweaked, so it can correctly handle this logic. I expect making this change might have some unintended consequences for some folk using automation as the current version would change (reduce) from 2.47.1.1 to 2.47.1, but I believe this should only be an issue for 1 release - unless the code change was made during a 4 part version numbered release 🤷♂️ |
What happened?
Git for Windows appears to be using a 4 part version numbering system for their new releases, but Get-EvergreenApp only returns the first 3 parts (2.41.0)
Unfortunately relying on the version number does not return anything later than the initial 2.41.0.0 release, as of 13th July 2023 the latest version is 2.41.0.3
Can the GitForWindows functionality be updated to handle this extra 4th part of the version?
Version
2305.801
What PowerShell edition/s are you running Evergreen on?
PowerShell Core, Windows PowerShell
Which operating system/s are you running Evergreen on?
Windows 10
Have you reviewed the documentation?
Verbose output
The text was updated successfully, but these errors were encountered: