gradle-GitVersioner icon indicating copy to clipboard operation
gradle-GitVersioner copied to clipboard

Branchname prefix "feature" is handled correctly, "bugfix" is not

Open tobias-neubert opened this issue 5 years ago • 0 comments

The version name for a feature branch like this "feature/XYZ-566-something" is correctly converted into the version name "-XYZ-566-something". And with that version name the name of the resulting .jar file is correct.

But if I use a different prefix, "bugfix" for example, the prefix will not be removed from the version name leading to a completely broken .jar name of my resulting artifact.

I would like to have the same behaviour for any prefix, simply remove it.

To reproduce:

  1. Create a simple java library project
  2. Create a branch named "bugfix/Something"
  3. Build the jar file

tobias-neubert avatar Aug 28 '19 10:08 tobias-neubert