Skip to main content

previous_tag

Function previous_tag 

Source
pub fn previous_tag(tags: &[String], current: Version) -> Option<Version>
Expand description

The release before current among tags: the greatest plain vX.Y.Z tag strictly below it. Pre-release tags (v0.16.0-rc1) and anything unparseable are ignored.