-
Notifications
You must be signed in to change notification settings - Fork 53
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
Remove inaccurate hash information displayed by the --version
command
#2130
Comments
Proposal: Instead of including the hash in the version, we use the Workflow:
This would mean we could distinguish between in-progress development versions and release versions. |
This is a more significant issue now that obtaining the git info with the gitrev dependency no longer works with the linux release build. #2294 |
This was referenced Aug 23, 2023
paulcadman
added a commit
that referenced
this issue
Aug 23, 2023
This PR replaces [gitrev](https://hackage.haskell.org/package/gitrev) with [githash](https://hackage.haskell.org/package/githash) which provides more reliable git information about the current git info, it seems to work as expected. githash originated as a fork of gitrev containing fixes snoyberg/githash#11 This PR also fixes the issue with git info detection in the linux static build. There was a permission issue in the build container that caused git cli calls to fail. Closes: * #2294 * #2130
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The --version command is showing incorrect hash information, causing a lot of confusion during development testing. Let us remove this hash display for the final user, keeping only the version tag. This is good enough and clear for reference. However, I believe keeping this hash for development purposes is nice and desired. Suggestions on how to address this are welcomed.
The text was updated successfully, but these errors were encountered: