Which package are you using?
@fribbledom git clone
That's the correct output then. You can manually specify the Version and CommitSHA if you insist on giving it a proper version number.
See the .goreleaser.yml file for how you can pass these values to go build.
@fribbledom aahh! That explains.
Duf is my absolute first introduction to golang. Haven't even looked at the code yet. :)
No worries, happy to help out!
You can try this, for example:
go build -ldflags '-X main.Version=v0.4.0 -X main.CommitSHA=123456'
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!