-
Notifications
You must be signed in to change notification settings - Fork 502
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
Empty build details when using go install #1776
Comments
It turns out with the way the debug build info is set, this is not really possible to do consistently, as the build info can only be read in the |
@nrwiersma would it not be possible to derive this information in the main package and pass it to the handler? I could see changing build.go to a pointer whose value can be set once from |
I've recently discovered we actually do provide a way to get a versioned Go binary: https://docs.gomods.io/install/build-from-source/ |
This does not resolve issue which is about installing with |
I think that's fair. I've assigned this to our 1.0.0 milestone because if you can |
Describe the bug
When you build athens using
go install
, no version nor build time is set:Expected behavior
Version and build date are set automatically based on version selected by
go install
for installation and current time.May help:
https://www.reddit.com/r/golang/comments/u1a7ah/how_to_embed_version_when_go_installing_since_you/
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: