Thanks Niklas Tanskanen for working on this! Much appreciated.
One suggestion, re. enabling/disabling building releases: users will probably want control over which tags trigger a build.
It looks like the current version of the plugin already allows to specify a regular expression for which branch(es) should be built:
To let users control which tags they want to build, this could be extended to support full references instead of just the branch name, renaming "Branch names to build automatically" to "Refspecs to build automatically".
For example a value of
would build all branches and all tags. A value of
would build all branches, and only tags starting with "v", which I assume is the most common setup for Github users.
As an alternative, if this is too much regex to expose to users, then have 2 separate fields: "Branch names to build automatically" and "Tag names to build automatically".
Anyway! Those are just suggestions. As long as the feature to enable building when tags are pushed is there I'll be a happy user .