Skip to content

Commit

Permalink
Use set -ex to dispay commands being run. (#217)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock authored Aug 16, 2021
1 parent 5692713 commit f5c7f0c
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright OpenSearch Contributors.
# SPDX-License-Identifier: Apache-2.0

set -e
set -ex

function usage() {
echo "Usage: $0 [args]"
Expand Down Expand Up @@ -56,7 +56,6 @@ fi
[ -z "$OUTPUT" ] && OUTPUT=artifacts

mkdir -p $OUTPUT
echo ./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT
./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT

zipPath=$(find . -path \*build/distributions/*.zip)
Expand Down

0 comments on commit f5c7f0c

Please sign in to comment.