We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c6d01 commit d607b76Copy full SHA for d607b76
1 file changed
scripts/close-nexus-repository.sh
@@ -22,7 +22,7 @@
22
###
23
set -o errexit
24
set -o nounset
25
-[[ -n ${DEBUG+undef} ]] && set -o xtrace
+[[ ${DEBUG} ]] && set -o xtrace
26
27
function usage() {
28
echo "USAGE: ${BASH_SOURCE[0]} [-h] -a <artifactId> -g <groupId> -v <version> -u <userName> -p <password> -s <server>"
@@ -178,6 +178,7 @@ function is-artifact-in-repository() {
178
}
179
180
function find-correct-repository-id() {
181
+ local repository_id
182
for repository_id in $(get-staging-repositories); do
183
if is-artifact-in-repository "${repository_id}"; then
184
echo "${repository_id}"
0 commit comments