> On 15 Aug 2020, at 22.50, Tong Sun <suntong...@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?
>
$ git tag -l | sort -V
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/DCD2A51E-F7AC-473C-863D-BFED17F0DAC5%40gmail.com.