Closed pjones closed 3 years ago
Oh, thanks for the hint. I've pushed a commit to master which hardcodes dev
for now.
We used to have a program called build.go
(pre Go-modules) which sets the version during compilation, but when using go build
(as it is recommended in the README now) the version is not set so the one from the source is printed.
The
cmd_version.go
file hard codes the version number as0.5.2-dev
. Therefore using theversion
command with grobi compiled from thev0.6.0
tag produces:I'm not sure how golang programs normally deal with this. If you point me in the right direction I'm happy to open a PR.