wakatime / semver-action

Auto-generate the next semantic version.
MIT License
11 stars 0 forks source link

Use correct pre-release version for doc and misc branches #15

Closed gandarez closed 3 years ago

gandarez commented 3 years ago

This PR checks if source branch is prefixed with doc or misc and the target branch is develop to correctly set pre-release version based on the ancestor develop tag. It will fixes cases where the latest tag is v1.6.0 and the ancestor develop tag has the same base version like v1.6.0-alpha.1, v1.6.0-alpha.2 and so on.

Current implementation

New implementation

alanhamlett commented 3 years ago

This looks good!