Skip to content

Commit

Permalink
Use local var, instead of overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
seanstory committed Jan 17, 2025
1 parent 0873a28 commit a46b670
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .buildkite/publish/dra/init_dra_publishing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export REVISION="${BUILDKITE_COMMIT}"
export BRANCH_NAME="${BUILDKITE_BRANCH}"
export PRODUCT_NAME="connectors"
export GIT_REPO="connectors"
export VERSION_QUALIFIER="${VERSION_QUALIFIER:-}"

# set PUBLISH_SNAPSHOT and PUBLISH_STAGING based on the branch
if [[ "${BUILDKITE_BRANCH:-}" =~ (main|8\.x|[0-9]\.[0-9x]*$) ]]; then
Expand Down
6 changes: 4 additions & 2 deletions .buildkite/publish/dra/publish-daily-release-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ fi
# snapshot workflows do not use qualifiers
if [[ "${WORKFLOW:-}" == "snapshot" ]]; then
echo "overriding any local VERSION_QUALIFIER for SNAPSHOT workflow"
VERSION_QUALIFIER=""
version_qualifier=""
else
version_qualifier="${VERSION_QUALIFIER:-}"
fi

# Version. This is pulled from config/product_version.
Expand Down Expand Up @@ -93,5 +95,5 @@ docker run --rm \
--commit "${REVISION}" \
--workflow "${WORKFLOW}" \
--version "${VERSION}" \
--qualifier "${VERSION_QUALIFIER:-}" \
--qualifier "${version_qualifier:-}" \
--artifact-set main

0 comments on commit a46b670

Please sign in to comment.