gradle-release-plugin icon indicating copy to clipboard operation
gradle-release-plugin copied to clipboard

Override svn tag path

Open rajnmithun opened this issue 10 years ago • 6 comments

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

rajnmithun avatar Feb 28 '14 17:02 rajnmithun

Do you mean the name of the tag or the path to where the tags folder lives?

ari avatar Mar 02 '14 23:03 ari

both name of the tag and the path where to tag

rajnmithun avatar Mar 03 '14 16:03 rajnmithun

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.

ari avatar Mar 05 '14 07:03 ari

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.

leo-guinan avatar Feb 26 '15 14:02 leo-guinan

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.

ari avatar Feb 27 '15 02:02 ari

Sounds good, thanks. I will clean that up.

leo-guinan avatar Feb 27 '15 16:02 leo-guinan