Skip to content

Commit 574915d

Browse files
committed
Fix dra info fetch for 8.x branch
1 parent 8c088d5 commit 574915d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.ci/scripts/resolve-dra-manifest.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ LATEST_VERSION=$(strip_version $LATEST_BUILD)
2323
if [ "$LATEST_VERSION" != "$ES_VERSION" ]; then
2424
echo "Latest build for '$ARTIFACT' is version $LATEST_VERSION but expected version $ES_VERSION." 1>&2
2525
NEW_BRANCH=$(echo $ES_VERSION | sed -E "s/([0-9]+\.[0-9]+)\.[0-9]/\1/g")
26+
27+
# Temporary
28+
if [[ "$ES_VERSION" == "8.16.0" ]]; then
29+
NEW_BRANCH="8.x"
30+
fi
31+
2632
echo "Using branch $NEW_BRANCH instead of $BRANCH." 1>&2
33+
echo "https://artifacts-$WORKFLOW.elastic.co/$ARTIFACT/latest/$NEW_BRANCH.json"
2734
LATEST_BUILD=$(fetch_build $WORKFLOW $ARTIFACT $NEW_BRANCH)
2835
fi
2936

0 commit comments

Comments
 (0)