diff --git a/tools/plugin_archetype_deploy.sh b/tools/plugin_archetype_deploy.sh index 4ad8b7089c..b16ce95bf7 100755 --- a/tools/plugin_archetype_deploy.sh +++ b/tools/plugin_archetype_deploy.sh @@ -63,21 +63,9 @@ function build_and_deploy -Dfile=target/$module-$ver.jar } -function confirm -{ - read -n1 -p "Are you sure you want to deploy? [N/y]: " ready - if [[ ! $ready == [Yy] ]]; then - if [[ $ready == [Nn] || -z $ready ]]; then - echo; exit - else - echo; confirm - fi - fi -} - function run { - test ${dryRun:-'false'} == 'false' && confirm + test ${dryRun:-'false'} == 'false' root=$(instroot) cd "$root" ver=$(getver GERRIT_VERSION)