Skip to content

Conversation

@steinwurf-sofie
Copy link
Member

This allows for parsing version numbers such as 5.1 or v1.0.0, even if these are not technically semver compatible.

Using a similar coerce strategy as upstream describes in file https://github.com/python-semver/python-semver/blob/4815626cb6e2c2d0ee0edc015d3ae32485fadd03/docs/advanced/coerce.py

Changed to not attempt to search through a tag to find a number, as i fear this will be too general and may give bad results in large monorepos where tags may be written as backup/1.0.2 or similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants