pantheon-systems / autotag

Git repository version tagging tool
http://godoc.org/github.com/pantheon-systems/autotag
Apache License 2.0
190 stars 42 forks source link

Autotag is not able to bump from v0.9.x to v0.10.0 #108

Closed defgenx closed 7 months ago

defgenx commented 7 months ago

It looks like autotag is unable to move from v0.9.x to v0.10.0. Whatever you're using conventional or autotag, the bug exists for both.

if v != nil && v.String() > r.newVersion.String() { this code compares string lexicographically. That's why "0.9.0" is greater than "0.10.0".

defgenx commented 7 months ago

Issue is addressed with: https://github.com/pantheon-systems/autotag/pull/109

defgenx commented 7 months ago

Fix is merged, see PR from above.