explicitly request that version via go get module@version. After one minute for caches to expire, the go command will see that tagged version. If this doesn't work for you, please file an issue.
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 element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.
Tong Sun
unread,
Aug 15, 2020, 11:51:16 AM8/15/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts, seank...@gmail.com
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
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tong Sun, golang-nuts, seank...@gmail.com
> On 15 Aug 2020, at 22.50, Tong Sun <sunto...@gmail.com> wrote:
>
> 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 guys solve the above problem?
>