gradle-release-plugin
gradle-release-plugin copied to clipboard
Override svn tag path
Hi,
Is there any configuration/properties which i can change the path of the tags when i do a release on svn?
Thank you in advance
Do you mean the name of the tag or the path to where the tags folder lives?
both name of the tag and the path where to tag
There is a previous discussion about turning the tag name into a configurable closure. That makes a lot of sense. Making another option for the path to tags also makes sense.
I don't have any demand myself for these right now since I use standard choices, but I'd be willing to merge any pull requests that implemented these. Definitely the closure approach to tag name is good since then you'd have full power over naming options.
I have been working on using a closure to define a tag, but it actually causes a little bit of an issue. The releaseTagPattern to perform the auto versioning would then not work. So, I see a couple options: The user could provide a regex for performing the auto-versioning, or we could add another option for the user to pass in either the current version to increment or the next version they want. Curious to get your input.
If you mean the bits of code left over from an early attempt to automatically guess the next version, that should all go away. I think that the guessing concept was misguided and unhelpful.
Sounds good, thanks. I will clean that up.