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

Previous version is the same as current version when building tags

Open mockitoguy opened this issue 4 years ago • 3 comments
trafficstars

In the recent release we've added scmVersion.previousVersion. It works well for snapshots but does not quite work when building tags:

  • when building snapshots: scmVersion.version=1.0.0, scmVersion.previousVersion=1.0.1-SNAPSHOT
  • when building tags: scmVersion.version=1.0.1, scmVersion.previousVersion=1.0.1

Since I'm in need of this feature, I'll take a look ;-)

mockitoguy avatar Mar 31 '21 15:03 mockitoguy

@mockitoguy thx ;)

bgalek avatar Mar 31 '21 15:03 bgalek

in my opinion this is a bug and should therefore be fixed instead of adding another property. i created a PR #413

EisenRatte avatar Jul 29 '21 14:07 EisenRatte

@mockitoguy what do you think? Should we be discussing your PR or #413 way?:)

bgalek avatar Oct 06 '21 14:10 bgalek