aleksandr-m / gitflow-maven-plugin

The Git-Flow Maven Plugin supports various Git workflows, including GitFlow and GitHub Flow. This plugin runs Git and Maven commands from the command line.
https://aleksandr-m.github.io/gitflow-maven-plugin/
Apache License 2.0
487 stars 180 forks source link

Release branch creating with snapshot suffix #370

Closed sriram0721 closed 1 year ago

sriram0721 commented 1 year ago

Hello,

First of all thanks for the amazing plugin, which is making our lives easy.

I have a develop branch which holds snapshot version of pom as 1.x.x-SNAPSHOT-1 . I used gitflow maven plugin to start and end release.

whenever it creates a release branch on the start-release goal, it creates a release branch as release/1.x.x-SNAPSHOT-1 . The expected behaviour is to create the release branch as release/1.x.x and update the release pom as 1.x.x-RC1, 1.x.x-RC2 etc.

I use the following command for starting the release

aleksandr-m commented 1 year ago

You're asking for snapshot version in release in your command -DuseSnapshotInRelease=true.