atc0005 / notes

Various notes, quick references and topics I want to explore further
MIT License
0 stars 0 forks source link

Golang | Handling of undefined build version details #55

Open atc0005 opened 2 years ago

atc0005 commented 2 years ago

https://github.com/oligot/go-mod-upgrade/commit/705974bd7dbbc41c6fb68340d87f7aaffc354c5a

I'm relying on git provided version tag details which are set by Makefile managed builds.

Otherwise, I'm relying on a static dev or similar text string as the app version. The approach used by the go-mod-upgrade project looks like a useful fallback.