From 4835a1ebd70592f37d80846272ce8f249e24448d Mon Sep 17 00:00:00 2001 From: bvn13 Date: Mon, 1 Aug 2022 14:20:33 +0300 Subject: [PATCH] publishing script --- publish.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 publish.sh diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..6c40cd8 --- /dev/null +++ b/publish.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +./mvnw gitflow:release-start gitflow:release-finish + +git push origin master + +git push --tags + +git push origin develop + +read -p "Which version to publish? > " version + +git checkout $version + +./mvnw deploy -Prelease \ No newline at end of file