We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dce0e4b commit 595c71fCopy full SHA for 595c71f
1 file changed
scripts/download-oas.sh
@@ -29,9 +29,12 @@ if [ -d "${ROOT_DIR}/oas" ]; then
29
fi
30
31
git clone "${OAS_REPO}" "${ROOT_DIR}/oas" --quiet
32
+
33
# OPTIONAL: Lock to a specific commit
-# cd "${ROOT_DIR}/oas"
34
-# git checkout <HASH>
+if [[ "$OAS_REPO_NAME" == "https://github.com/stackitcloud/stackit-api-specifications.git" ]]; then
35
+ cd "${ROOT_DIR}/oas"
36
+ git checkout 335aa32af4d6c0d2a036b8567773da2f051f7efb
37
+fi
38
39
# NOTE: Everything below is needed for the "compatibility layer" logic.
40
# It can be completely removed once the compatibility layer isn't needed anymore in the SDK.
0 commit comments