-
Notifications
You must be signed in to change notification settings - Fork 722
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] - --version doesn't have correct revision when doing a non-clean build #1342
Comments
I can add that
|
We are not going to fix this. |
@mimi1vx, do you have any rough idea what would it take to fix this issues? TL;DR Or @jhrcek perhaps? EDIT: Correction, this one is the one that bugs me... #1127 but they are probably somewhat related... |
@mark-stopka it suses pretty clever trick with injection of gitRev ( borrowed from Michale Snoyman and stack) during compilation time, so it isn't simple to fix (probadly it needs work on Cabal side). From another angle with cabal nix-style build ( |
@mimi1vx would that be a minor update to |
Exernal
Summary
Building cardano-cli and cardano-node from a non-clean state shows incorrect revision hash from
and
Steps to reproduce
Steps to reproduce the behavior:
Without clean, Incorrect!
After clean, Correct!
Expected behavior
Rebuilding a different revision should update the git rev information in the version.
System info (please complete the following information):
The text was updated successfully, but these errors were encountered: