File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 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
3519# ## Note: this targets Sonatype Nexus Manager v2.x, not v3.x.
3620# ##
3721# ## Author: ascopes
38-
39-
22+ # ##
4023set -o errexit
4124set -o nounset
42-
43- if [[ -n ${DEBUG+undef} ]]; then
44- set -o xtrace
45- fi
25+ [[ -n ${DEBUG+undef} ]] && set -o xtrace
4626
4727function usage() {
4828 echo " USAGE: ${BASH_SOURCE[0]} [-h] -a <artifactId> -g <groupId> -v <version> -u <userName> -p <password> -s <server>"
You can’t perform that action at this time.
0 commit comments