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

Legacy Prefix not being detected when random tags present

Open mpnewcomb opened this issue 3 years ago • 5 comments

The legacy 'release-' prefix is not being detected when there are random tags present. I had to specify:

scmVersion {
  tag {
    prefix = 'release'
    versionSeparator = '-'
  }
}

for it to pick up my existing legacy tags. I have another project that just has legacy tags and it picks them up fine.

mpnewcomb avatar Jan 11 '22 16:01 mpnewcomb

In our environment using 1.13.6 even specifying the tag explicitly did not work. The only solution was to remove the non-conforming tags.

sfitts avatar Jan 12 '22 02:01 sfitts

Hi, I comfirm a bug, hope to fix it someday ;)

bgalek avatar May 04 '22 23:05 bgalek

As of 1.14.0 it has gotten worse. Now even on a repo with no non-conforming tags I cannot get it to recognize the legacy format. Specifying the tag prefix and separator does not work either.

sfitts avatar Sep 09 '22 22:09 sfitts

It should be an easy fix, to ignore not versions related tags, @sfitts wanna make PR? :)

bgalek avatar Sep 10 '22 12:09 bgalek

Yes, I need something similar: to skip incorrect tag. Now it's just failing when see 'release--' instead of 'release-'

spyroid avatar Oct 27 '22 08:10 spyroid