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(); }