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

#3 Proposal to print rai version #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TeddyBear06
Copy link

This approach is simple and leverage Cobra's built-in support for version print.

The version variable could be overwrited - at compile time - using -ldflags="-X 'main.version=x.x.x-xxxx'".

Copy link
Collaborator

@bradlo bradlo left a comment

Choose a reason for hiding this comment

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

please rename version_current.go to version.go. i ultimately plan to gen this file from the current git version. thanks, otherwise looks good.

@TeddyBear06
Copy link
Author

@bradlo Done.

Welcome, glad it helps.

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.

None yet

2 participants