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
v1.6.0-alpha.1 <- generated semver tag - Conflicts with previous
This PR checks if source branch is prefixed with
doc
ormisc
and the target branch is develop to correctly set pre-release version based on the ancestordevelop
tag. It will fixes cases where the latest tag isv1.6.0
and the ancestor develop tag has the same base version likev1.6.0-alpha.1
,v1.6.0-alpha.2
and so on.Current implementation
New implementation