tomasbjerre / simple-bitbucket-commit-checker

Simple, and easy to use, commit checker for Atlassian Bitbucket Server
https://marketplace.atlassian.com/plugins/se.bjurr.sscc.sscc
Other
21 stars 19 forks source link

Validate tags by Check branch name rule #88

Closed tihobrazov closed 5 years ago

tomasbjerre commented 6 years ago

Is it not better to have one rule for branches and one rule for tags? With this change you have one rule to validate both tags and branches right?

tihobrazov commented 6 years ago

Yes, you are right, it would be nice to have a feature like that

with my current change to verify only branch names, you would need to tick "Exclude Tags" and to check only tag names, name regexp should be specified like refs/tags/tag-reg-exp (not sure if full path to tag is supported)