From c3d694db5925e85ef54f103f939f9a7d8de53604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Dr=C3=B6=C3=9Fler?= Date: Thu, 14 Feb 2019 17:46:40 +0100 Subject: [PATCH] bugfix: wrong versions in master when using useSnapshotInRelease --- .../maven/plugin/gitflow/GitFlowReleaseFinishMojo.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java index ee57abb7..224df69d 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java @@ -207,10 +207,10 @@ public void execute() throws MojoExecutionException, MojoFailureException { } } - if (!skipTestProject) { - // git checkout release/... - gitCheckout(releaseBranch); + // git checkout release/... + gitCheckout(releaseBranch); + if (!skipTestProject) { // mvn clean test mvnCleanTest(); }