def unv
import ezx@1.11.0.0/src/git/git.bend as Gitimport Base
610# a tag with one leading `v` or `V` dropped
611def unv(text: String) -> String:
612 match text:
613 case SNil{}:
614 ""
615 case SCon{+h, t}:
616 unv.step(Bool.or(Char.is_eq(h, 'v'), Char.is_eq(h, 'V')), h, t)