diff --git a/publishToMaven.sh b/publishToMaven.sh index 49b6d523..1d58c0b3 100755 --- a/publishToMaven.sh +++ b/publishToMaven.sh @@ -12,6 +12,7 @@ PUBLISH_TASK="publishToMavenLocal" # Check for the --remote flag if [ "$1" == "--remote" ]; then PUBLISH_TASK="publishAllPublicationsToMavenCentralRepository" + shift # Remove the --remote argument fi # projectModule:libBuildType