haya14busa/action-update-semver

Add support for prereleases

aslafy-z opened this issue · 1 comments

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