Skip to content

Commit 2aa525f

Browse files
committed
fix(ci) add artificial iaasalpha hash to oas_commits to match iaas logic
1 parent 940e109 commit 2aa525f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/download-oas.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ EOF
5858
cd ${work_dir}/${OAS_REPO_NAME} >/dev/null
5959
git checkout -q $apiVersion || (echo "version ${apiVersion} does not exist, using main instead" && git checkout -q main)
6060
echo "$service=$(git rev-parse HEAD)" >> oas_commits
61+
# To support initial integrations of the IaaS API in an Alpha state, we will temporarily use it to generate an IaaS Alpha SDK module
62+
# This check can be removed once the IaaS API moves all endpoints to Beta
63+
if [[ ${service} == "iaas" ]]; then
64+
echo "iaasalpha=$(git rev-parse HEAD)" >> oas_commits
65+
fi
6166
cd - >/dev/null
6267

6368
# Prioritize GA over Beta over Alpha versions

0 commit comments

Comments
 (0)