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 numbers in the binary #362

Open
tock-ibm opened this issue Mar 16, 2022 · 0 comments
Open

Version numbers in the binary #362

tock-ibm opened this issue Mar 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tock-ibm
Copy link
Contributor

Use one of the approaches described below to bake the git commit hash and/or version number into the binary:

https://blog.kowalczyk.info/article/vEja/embedding-build-number-in-go-executable.html

https://blog.alexellis.io/inject-build-time-vars-golang/

https://medium.com/the-go-journey/adding-version-information-to-go-binaries-e1b79878f6f2

@tock-ibm tock-ibm added the enhancement New feature or request label Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant