If a repository has a commit with the tag 0.0.1 and another commit has the tags 0.0.2 and 0.0.3, the sorting "sort=-committerdate" results in a list where the order is:
This is most likely because tags on the same commit has the same committerdate, and is sorted differently (maybe alphabetically?).
This results in generating 0.0.3 as the new tag, and the action fails.
Can this be solved in a different way?