Skip to content

Commit

Permalink
Merge pull request #7775 from nelljerram/more-openstack-release-branc…
Browse files Browse the repository at this point in the history
…h-packaging

Merge pull request #7774 from nelljerram/more-openstack-release-branc…
  • Loading branch information
nelljerram committed Jun 9, 2023
2 parents 7ed95a2 + 2949454 commit 069ec7d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions hack/release/packaging/utils/create-update-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,9 @@ if "${PUBLISH:-false}"; then
pub_steps="pub_debs pub_rpms"
fi

if [ "${SEMAPHORE_GIT_PR_NUMBER}${SEMAPHORE_GIT_BRANCH}" = master -o -z "${SEMAPHORE_GIT_BRANCH}" ]; then
# Normally - if not Semaphore, or if this is Semaphore running on
# the master branch and not for a PR - do all the steps including
# publication.
: ${STEPS:=bld_images net_cal felix etcd3gw dnsmasq nettle ${pub_steps}}
else
# For Semaphore building a PR or a branch other than master, build
# packages but do not publish them.
: ${STEPS:=bld_images net_cal felix etcd3gw dnsmasq nettle}
fi
# We used to have some Semaphore environment-dependent logic here, but we now
# place that in the Semaphore YAML (which is a more appropriate place for it).
: ${STEPS:=bld_images net_cal felix etcd3gw dnsmasq nettle ${pub_steps}}

function check_bin {
which $1 > /dev/null
Expand Down

0 comments on commit 069ec7d

Please sign in to comment.