How to update the version in the develop branch?

171 views
Skip to first unread message

Menno Jansz

unread,
Oct 22, 2015, 6:16:30 PM10/22/15
to Maven JGit Flow Plugin

Hi,

We moved to using the jgitflow plugin instead of the maven-release plugin. We had our master at 0.1.8-SNAPSHOT to start, from the last time we ran the maven-release plugin.

We initially ran mvn jgitflow:release-start and then  mvn jgitflow:release-finish. We ended up with our master branch at 0.1.9, our develop branch at 0.1.10-SNAPSHOT. Now we ran mvn jgitflow:hotfix-start, in order to do a hotfix, which means we have a hotfix branch also at 0.1.10-SNAPSHOT, just like develop.

So we now realise we should have initially asked the plugin to make the develop branch 0.2.0-SNAPSHOT and make use of major and minor version numbers. How do we now use the plugin to move our develop branch to 0.2.0-SNAPSHOT? Is there a way, or do we have to do it manually? And if the latter will it cause issues when we use the plugin to finish the hotfix and it tries to merge back into develop, when it does the "Updating develop poms back to pre merge state".

Cheers,
Menno

Oscar Argueta

unread,
Oct 27, 2015, 10:55:27 AM10/27/15
to Maven JGit Flow Plugin
Well, i don't know if there is a way to doit with the hotfix, but if you'll doit manually this don't represent problems in the future for jgitflow, just will take the version that you put in. 
Reply all
Reply to author
Forward
0 new messages