Embed version number at build time
Opened this issue · 0 comments
YuyaAbo commented
Now the version number is written directly in the program.
https://github.com/Connehito/gdp/blob/master/main.go#L9
Consider adding a script to embed it at build time or use a tool like GoReleaser.
https://goreleaser.com/quick-start/