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.

Home Page:https://aleksandr-m.github.io/gitflow-maven-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

version-update "skipTag" not working when set in the config section of the pom.xml

dagutten opened this issue · comments

When testing the version-update goal I noticed that the "skipTag" config is not working when set inside the element. This property is only working when provided as a maven property "-DskipTag=true".

<configuration> <pushRemote>true</pushRemote> << -- This one works in version-update goal <skipTag>true</skipTag> <<-- This one is ignored </configuration>

Console output: mvn gitflow:version-update

[INFO] Comparing local branch 'release/1.0.0' with remote 'origin/release/1.0.0'. What is the update version? [1.0.0-RC6]: [INFO] Version is blank. Using default version. [INFO] Updating version(s) to '1.0.0-RC6'. [INFO] Committing changes. [INFO] Creating '1.0.0-RC6' tag.
If I execute the same goal but including "-DskipTag=true".

Console output: mvn gitflow:version-update -DskipTag=true

[INFO] Version is blank. Using default version. [INFO] Updating version(s) to '1.0.0-RC7'. [INFO] Committing changes. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS

nevermind, was an issue with my config section