From d41f844653f63b5605a6a7346b707e6d9e32dbbc Mon Sep 17 00:00:00 2001 From: Pablo Palazon Date: Fri, 21 Aug 2020 19:10:25 +0200 Subject: [PATCH] Execute mvn clean after finish commands --- plugins/available/jgitflow.plugin.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/available/jgitflow.plugin.bash b/plugins/available/jgitflow.plugin.bash index 83ee8a23..06669405 100644 --- a/plugins/available/jgitflow.plugin.bash +++ b/plugins/available/jgitflow.plugin.bash @@ -12,7 +12,7 @@ function hotfix-finish { about 'helper function for finishing a hotfix' group 'jgitflow' - mvn jgitflow:hotfix-finish -Darguments="${JGITFLOW_MVN_ARGUMENTS}" && git push && git push origin master && git push --tags + mvn jgitflow:hotfix-finish -Darguments="${JGITFLOW_MVN_ARGUMENTS}" && git push && git push origin master && git push --tags && mvn clean } function feature-start { @@ -26,7 +26,7 @@ function feature-finish { about 'helper function for finishing a feature' group 'jgitflow' - mvn jgitflow:feature-finish ${JGITFLOW_MVN_ARGUMENTS} + mvn jgitflow:feature-finish ${JGITFLOW_MVN_ARGUMENTS} && mvn clean echo -e '\033[32m----------------------------------------------------------------\033[0m' echo -e '\033[32m===== REMEMBER TO CREATE A NEW RELEASE TO DEPLOY THIS FEATURE ====\033[0m' echo -e '\033[32m----------------------------------------------------------------\033[0m' @@ -43,5 +43,5 @@ function release-finish { about 'helper function for finishing a release' group 'jgitflow' - mvn jgitflow:release-finish -Darguments="${JGITFLOW_MVN_ARGUMENTS}" && git push && git push origin master && git push --tags + mvn jgitflow:release-finish -Darguments="${JGITFLOW_MVN_ARGUMENTS}" && git push && git push origin master && git push --tags && mvn clean }