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

Use ldflags to set version information #84

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Use ldflags to set version information #84

merged 1 commit into from
Oct 27, 2020

Conversation

superbrothers
Copy link
Member

@superbrothers superbrothers commented Oct 27, 2020

Version information is output in the following format:

$ stern --version
version: v1.12.1
commit: 2d4bd0de2d950b189eba7a7ebf8120283b7009c0
built at: 2020-10-27T14:13:08Z

Version information is output in the following format:
```
$ stern --version
version: v1.12.1
commit: 2d4bd0d
built at: 2020-10-27T14:13:08Z
```
Copy link
Member

@floryut floryut left a comment

Choose a reason for hiding this comment

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

🍾

@superbrothers superbrothers merged commit 1b28209 into master Oct 27, 2020
@superbrothers superbrothers deleted the version branch October 27, 2020 14:50
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