AW: [go-nuts] Re: The latest version of package in pkg.go.dev

2020-08-15 Thread Lutz Horn
il.com> Betreff: Re: [go-nuts] Re: The latest version of package in pkg.go.dev Oh, thanks. The very reason that I do that is to avoid the following situation: for i in `jot 12`; do echo $i > f; git commit -am "$i"; git tag v0.0.$i; done $ git tag -l v0.0.1 v0.0.10 v0.0.11 v0.0

Re: [go-nuts] Re: The latest version of package in pkg.go.dev

2020-08-15 Thread Tong Sun
Oh, thanks. The very reason that I do that is to avoid the following situation: for i in `jot 12`; do echo $i > f; git commit -am "$i"; git tag v0.0.$i; done $ git tag -l v0.0.1 v0.0.10 v0.0.11 v0.0.12 v0.0.2 v0.0.3 v0.0.4 v0.0.5 v0.0.6 v0.0.7 v0.0.8 v0.0.9 If no leading 0s allowed, how do you

[go-nuts] Re: The latest version of package in pkg.go.dev

2020-08-15 Thread seank...@gmail.com
that's an invalid semver, no leading 0s allowed https://semver.org/#spec-item-2 : A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each e