From 7553b24fd330766767eedd4608668851b3d01636 Mon Sep 17 00:00:00 2001 From: Sean Simmons Date: Fri, 3 Jan 2025 12:30:13 -0500 Subject: [PATCH] updating script Signed-off-by: Sean Simmons --- .expeditor/promote-hab-pkg.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.expeditor/promote-hab-pkg.sh b/.expeditor/promote-hab-pkg.sh index 12e49b6..a94fd75 100644 --- a/.expeditor/promote-hab-pkg.sh +++ b/.expeditor/promote-hab-pkg.sh @@ -10,7 +10,7 @@ # HAB_AUTH_TOKEN - GitHub Auth token used to communicate with the # Habitat depot and private repos in Chef's GitHub org # -set -eou pipefail +set -eoux pipefail printenv | grep EXPEDITOR @@ -33,8 +33,7 @@ else fi # Promote the artifacts in Habitat Depot -if [[ "${EXPEDITOR_PKG_ORIGIN}" == "core" ]]; -then +if [[ "${EXPEDITOR_PKG_ORIGIN}" == "core" ]]; then echo "Skipping promotion of core origin package ${EXPEDITOR_PKG_ORIGIN}" else echo "Promoting ${EXPEDITOR_PKG_IDENT} to the ${EXPEDITOR_TARGET_CHANNEL} channel"