You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "\e[92m > GPG Key set to $GPG_KEYNAME\e[39m"
104
104
;;
105
105
-h|--help)
@@ -114,11 +114,11 @@ do
114
114
COV_REPORT=true
115
115
echo -e "\e[92m > Create coverage report\e[39m"
116
116
;;
117
-
-s|--repo-settings)
117
+
-s|--repo-settings)
118
118
MVN_SETTINGS="-s .mvn/ci-settings.xml"
119
119
echo -e "\e[92m > Executing maven with settings from .mvn/settings.xml \e[39m"
120
120
;;
121
-
-t|--test)
121
+
-t|--test)
122
122
ENABLED_TEST=""
123
123
echo -e "\e[92m > With test execution\e[39m"
124
124
;;
@@ -145,12 +145,12 @@ done
145
145
if [[ ${#COMPONENTS_TO_BUILD[@]}= 0 ]]
146
146
then
147
147
echo -e "\e[92m > Build all components\e[39m"
148
-
COMPONENTS_TO_BUILD=${ALL_COMPONENTS[@]}
148
+
COMPONENTS_TO_BUILD=${ALL_COMPONENTS[*]}
149
149
fi
150
150
151
151
## VALIDATE
152
152
153
-
if [[ $(basename $0)!="build.sh" ]]
153
+
if [[ "$(basename "$0")"!="build.sh" ]]
154
154
then
155
155
echo -e "\e[91m !ERR! Cannot sign artifacts without passing a gpg key for signing. Please pass gpgkey=<your key> as a parameter or GPG_KEY as secret.\e[39m"
156
156
exit 1
@@ -202,7 +202,7 @@ function doRunCommand() {
202
202
# $1: yes/no question
203
203
functiondoAskQuestion() {
204
204
local question="${1}"
205
-
205
+
206
206
local answer
207
207
whiletrue
208
208
do
@@ -253,6 +253,6 @@ function pauseUntilKeyPressed() {
253
253
if [[ "$SILENT"=false ]]
254
254
then
255
255
echo""
256
-
read -p "Press any key to resume with cleanup after reviewing the deployments ..."
256
+
read -p "Press any key to resume with cleanup after reviewing the deployments ..."
0 commit comments