Skip to content

Commit afc1103

Browse files
authored
Update close-nexus-repository.sh to newer version
Signed-off-by: Ashley <[email protected]>
1 parent 265fc21 commit afc1103

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

scripts/close-nexus-repository.sh

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
#!/usr/bin/env bash
2-
#
3-
# Copyright (C) 2022 - 2024, the original author or authors.
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
16-
#
17-
182
###
193
### Script that helps automate Nexus auto-staging promotion without using the
204
### Nexus Maven Plugin which will break when we exclude the acceptance tests from
@@ -35,14 +19,10 @@
3519
### Note: this targets Sonatype Nexus Manager v2.x, not v3.x.
3620
###
3721
### Author: ascopes
38-
39-
22+
###
4023
set -o errexit
4124
set -o nounset
42-
43-
if [[ -n ${DEBUG+undef} ]]; then
44-
set -o xtrace
45-
fi
25+
[[ -n ${DEBUG+undef} ]] && set -o xtrace
4626

4727
function usage() {
4828
echo "USAGE: ${BASH_SOURCE[0]} [-h] -a <artifactId> -g <groupId> -v <version> -u <userName> -p <password> -s <server>"

0 commit comments

Comments
 (0)