action-update-semver
action-update-semver copied to clipboard
Add support for prereleases
When publishing a prerelease (eg: v0.1.0-develop.1
), the action tags becomes:
- v0.1.0-develop
- v0.1
It should instead tag the following:
- v0.1.0-develop
- v0.1-develop
If I publish v1.1.0-develop.1
I expect this action to tag:
- v1.1.0-develop
- v1.1-develop
- v1-develop
When publishing a prerelease (eg:
v0.1.0-develop.1
), the action tags becomes:
- v0.1.0-develop
- v0.1
It should instead tag the following:
- v0.1.0-develop
- v0.1-develop
If I publish
v1.1.0-develop.1
I expect this action to tag:
- v1.1.0-develop
- v1.1-develop
- v1-develop