Explore the possibility for GoReleaser to capture the version it's building within the binary, so a command can return that version.
There are hundreds of projects out there doing this in some way, just figure out how it can be done. Ideally, without manually writing the version number in a file.
Explore the possibility for GoReleaser to capture the version it's building within the binary, so a command can return that version.
There are hundreds of projects out there doing this in some way, just figure out how it can be done. Ideally, without manually writing the version number in a file.