From d0b5feda742f763aeed2d88919876b45df0fdea4 Mon Sep 17 00:00:00 2001 From: bl4ckh4t3 Date: Sat, 1 May 2021 18:15:13 +0200 Subject: [PATCH] Use releaseStartMessage in releaseFinish if useSnapshotInRelease is true --- .../maven/plugin/gitflow/GitFlowReleaseFinishMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 03c684a8..d85fe3f6 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java @@ -257,7 +257,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { messageProperties.put("version", commitVersion); - gitCommit(commitMessages.getReleaseFinishMessage(), messageProperties); + gitCommit(commitMessages.getReleaseStartMessage(), messageProperties); } if (!skipReleaseMergeProdBranch) {