Skip to content

Commit

Permalink
updating script
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Simmons <[email protected]>
  • Loading branch information
sean-simmons-progress committed Jan 3, 2025
1 parent a96d4ac commit 7553b24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .expeditor/promote-hab-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down

0 comments on commit 7553b24

Please sign in to comment.