Using a comparison that supports semver
In cases where there are 2 or more tags on the same commit, and semver is also used, the previous version fell with an error, because it did a split point by point and cast everything to int. Semver is the most common option for forming a version name, so it would be better to use it.
Sorry this PR got ignored for so long. In order for this to be mergeable, could you add at least one test showing the improved behavior...?
The extra commits I added are from #249 — once that PR goes through, we can rebase this and drop those commits. I wanted to see if they would help with the CI failure.
the CI failure seems to be real, so it appears this needs further work