-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Git binaries on Windows don't have a version number #1797
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
Comments
@JJClements not sure I understand the context - the version you get from Is there more that you're looking for from this? |
Hi @shiftkey - I should have been clearer, the (file version AND the product version) properties that you see when you right click on the actual windows binary itself do not match those of the installer. |
So there are 2 issues, the first is that the format of the file version and the product version differ between the installer and the actual git.exe binary. The second is that the version of the installer does not match the version of the git.exe binary that is installed on the filesystem. |
@JJClements good find. Now for the next step: figure out how to fix this. A quick web search found this for you: https://stackoverflow.com/questions/6498750/how-do-i-automatically-set-the-version-of-my-inno-setup-installer-according-to-m#6498791 The next steps for you involve:
|
@dscho : This is not resolved as of |
@r1walz go for it! (It is not resolved as of v2.20.1, and if we can get it solved for v2.21.0, that'd be awesome, especially since the OP clad themselves in silence ever since asked to do something ;-)) |
@JJClements feel free to pick up work on this, as @r1walz seems to be busy applying for the Google Summer of Code, and it really is not his responsibility to fulfill your wishes, especially when you have been given all the tools to fulfill your wishes yourself. |
@r1walz sorry, I did not mean to take this project from you! It also does not exactly look like @JJClements is super eager to help Git for Windows in any way, either, so... You mentioned on IRC that you have some preliminary patch that however does not seem to do the job? Can you push this somewhere so I can have a look? |
@r1walz still, if you can commit a WIP ("Work In Progress") and push it somewhere so I can easily just pull and check things out... |
As reported by @JJClements, the File version and Product version of the installer and installed binary were not the same. They are set by the `installer/release.sh` and by using `sdk build (installer | git-and-installer)` commands, which created this discrepancy. We create two new macros, `FILE_VERSION` and `PROD_VERSION` to store File and Product version of the included binary and then directly copying it to the installer file. Closes: git-for-windows/git#1797 Signed-off-by: Rohit Ashiwal <[email protected]>
As reported by @JJClements, the File version and Product version of the installer and installer binary were not the same. They are set by the `installer/release.sh` and by using `sdk build (installer | git-and-installer)` commands, which created this discrepancy. Create two macros, `FILE_VERSION` and `PROD_VERSION` to store File and Product version of the included binary and copy it to the installer file. Closes: git-for-windows/git#1797 Signed-off-by: Rohit Ashiwal <[email protected]>
As reported by @JJClements, the File version and Product version of the installer and installer binary were not the same. They are set by the `installer/release.sh` and by using `sdk build (installer | git-and-installer)` commands, which created this discrepancy. Create two macros, `FILE_VERSION` and `PROD_VERSION` to store File and Product version of the included binary and copy it to the installer file. Closes: git-for-windows/git#1797 Signed-off-by: Rohit Ashiwal <[email protected]>
As reported by @JJClements, the File version and Product version of the installer and installer binary were not the same. They are set by the `installer/release.sh` and by using `sdk build (installer | git-and-installer)` commands, which created this discrepancy. Create two macros, `FILE_VERSION` and `PROD_VERSION` to store File and Product version of the included binary and copy it to the installer file. Closes: git-for-windows/git#1797 Signed-off-by: Rohit Ashiwal <[email protected]>
@JJClements a suggestion: buy @r1walz a drink of his choice, as he fulfilled your wish. |
Bit of a strange one, we've noticed that the git binaries on Windows don't seem to have a build version (at all) that presumably matches the release version of the application? Is there a reason for this? It's the only one of many applications that we use that doesn't seem to add the tags to the binaries when they are compiled for some reason?
This would also really help with our patching/maintenance to ensure the application is always kept up to date ;-)
Thanks
The text was updated successfully, but these errors were encountered: