stianh / gradle-release-plugin

Gradle plugin for automated release management.
54 stars 14 forks source link

Flexibility for SCM tag name and tag matcher #40

Open rimerosolutions opened 11 years ago

rimerosolutions commented 11 years ago

It would be nice to provide custom matchers to extract the tag versions.

Let's assume that someone has tag names conventions such as PRJ_VersionNumber_RELEASE.

It looks like there's no way to customize the next tag name as well as the latest tag (Name and version as there is no match found with the hardcoded regex matcher).

If possible such a feature could be provided via a closure in the same way as the versionStrategy extension point.

stigkj commented 11 years ago

Good idea! When we get the time, we will provide this. Or maybe you could send us a pull request?