Skip to content

Commit 5979880

Browse files
committed
Avoid passing duplicate qualifier to release manager
1 parent 5832e3c commit 5979880

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.buildkite/scripts/dra-workflow.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if [[ "$BRANCH" == "main" ]]; then
2222
fi
2323

2424
ES_VERSION=$(grep elasticsearch build-tools-internal/version.properties | sed "s/elasticsearch *= *//g")
25+
BASE_VERSION="$ES_VERSION"
2526
echo "ES_VERSION=$ES_VERSION"
2627

2728
VERSION_SUFFIX=""
@@ -104,7 +105,7 @@ docker run --rm \
104105
--commit "$BUILDKITE_COMMIT" \
105106
--workflow "$WORKFLOW" \
106107
--qualifier "${VERSION_QUALIFIER:-}" \
107-
--version "$ES_VERSION" \
108+
--version "$BASE_VERSION" \
108109
--artifact-set main \
109110
--dependency "beats:https://artifacts-${WORKFLOW}.elastic.co/beats/${BEATS_BUILD_ID}/manifest-${ES_VERSION}${VERSION_SUFFIX}.json" \
110111
--dependency "ml-cpp:https://artifacts-${WORKFLOW}.elastic.co/ml-cpp/${ML_CPP_BUILD_ID}/manifest-${ES_VERSION}${VERSION_SUFFIX}.json"

0 commit comments

Comments
 (0)