summaryrefslogtreecommitdiff
path: root/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'publish.sh')
-rwxr-xr-xpublish.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/publish.sh b/publish.sh
index 48ee53ba..e9f86d1e 100755
--- a/publish.sh
+++ b/publish.sh
@@ -48,6 +48,15 @@ echo -e "Publishing to: $TYELLOW$PUBLISH_DIR$TNORMAL"
mkdir -p "$PUBLISH_DIR"
mkdir -p "$LOG_DIR"
+begin_phase "Cleaning..."
+mvn clean > "$LOG_DIR/clean.log" 2>&1
+RETVAL=$?
+if [ $RETVAL -eq 0 ]; then
+ end_phase "OK"
+else
+ end_phase "FAILED"
+fi
+
profiles=( linux windows mac )
names=( linux windows mac )
if [[ "$1" != "" ]] && [[ "$1" == "--profiles" ]]; then