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

version: Include VCS build info in version string. #2841

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

jrick
Copy link
Member

@jrick jrick commented Dec 7, 2021

VCS build info is only available when built from a VCS checkout using
Go 1.18 or later.

Example versions before and after this change:

$ go build && ./dcrd -V
dcrd version 1.7.0-pre (Go version go1.17.4 openbsd/amd64)
$ gotip build && ./dcrd -V
dcrd version 1.7.0-pre+3ab07abf1 (Go version devel go1.18-4300f1051 Tue Dec 7 18:58:57 2021 +0000 openbsd/amd64)

VCS build info is only available when built from a VCS checkout using
Go 1.18 or later.
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

3 participants