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

Add option to display hydra-node version #11

Merged
6 commits merged into from
Jun 4, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jun 3, 2021

This PR is heavily stolen inspired by cardano-wallet's version handling.
@ch1bo Suggested we use git describe HEAD in order to get tag and revision information from git which I find appealing but this kind of conflict with the "usual" format of X.Y.Z-SHA1, so I went down the path of maximal reuse.

abailly added 2 commits June 3, 2021 10:54
hydra-node version is inferred from the hydra-node.cabal version and,
if git is available, the current commit SHA1.
@ghost ghost requested review from ch1bo and KtorZ June 3, 2021 13:26
Copy link
Member

@ch1bo ch1bo left a comment

Choose a reason for hiding this comment

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

Only minor things as commented above

@ghost ghost merged commit 6e58b2f into master Jun 4, 2021
@ghost ghost deleted the abailly-iohk/add-version-option branch June 4, 2021 14:25
This pull request was closed.
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.

3 participants