I use maven to create releases using gitflow-maven-plugin. My projects builds fine, unless I create a release calling the following maven command
mvn -B gitflow:release
This fails with the following error
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.9.0:release (default-cli) on project test:
release: Remote branch 'origin/master' is ahead of the local branch 'master'.
Execute git pull. -> [Help 1]
There are no changes on the master so there should be no such error, especially also cause the plugin does a fetch beforehand as shown in the log
16:03:21 [INFO] Fetching remote branch 'origin master'.
16:03:21 [INFO] Comparing local branch 'master' with remote 'origin/master'
Any clue what could cause that?