summaryrefslogtreecommitdiff
path: root/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'publish.sh')
-rwxr-xr-xpublish.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/publish.sh b/publish.sh
index 33a7d7c1..56dbf533 100755
--- a/publish.sh
+++ b/publish.sh
@@ -48,6 +48,13 @@ mkdir -p $LOG_DIR
profiles=( linux windows mac )
names=( linux windows mac )
+if [[ "$1" != "" ]] && [[ "$1" == "--profiles" ]]; then
+ profiles=( $2 )
+ names=( $2 )
+ shift
+ shift
+ MVN_PARAMS="$@"
+fi
for (( i = 0 ; i < ${#names[@]} ; i++ )) do
PROFILE=${profiles[$i]}