Open dctelus opened 2 years ago
The option pre_release_branches defaults to `, but you are using.match` which always returns true when passed an empty string.
`, but you are using
branch = "anything"; Boolean(branch.match('')) # always true
https://github.com/mathieudutour/github-tag-action/blob/v6.0/src/action.ts#L58
We use this behavior but it is not intuitive (maybe documentation should be updated to say that all branches are prerelease).
The option pre_release_branches defaults to
`, but you are using
.match` which always returns true when passed an empty string.https://github.com/mathieudutour/github-tag-action/blob/v6.0/src/action.ts#L58
We use this behavior but it is not intuitive (maybe documentation should be updated to say that all branches are prerelease).