2 ms·
> if one just use source repo tags I've never been able to find docs on what exact format those should have. One of the many problems with Go modules.
by simiones 6y ago
> if one just use source repo tags
I've never been able to find docs on what exact format those should have. One of the many problems with Go modules.
- llimllib 6y ago> Modules must be semantically versioned according to semver, usually in the form v(major).(minor).(patch), such as v0.1.0, v1.2.3, or v1.5.0-rc.1. The leading v is required. If using Git, tag released commits with their versions https://github.com/golang/go/wiki/Modules#modules https://github.com/golang/go/wiki/Modules#modules (I find this reference exceedingly helpful, and wish it were somewhere more official than the `golang/go` wiki, but c'est la vie)