Skip to content

Commit 595c71f

Browse files
committed
lock oas to latest commit
1 parent dce0e4b commit 595c71f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/download-oas.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ if [ -d "${ROOT_DIR}/oas" ]; then
2929
fi
3030

3131
git clone "${OAS_REPO}" "${ROOT_DIR}/oas" --quiet
32+
3233
# OPTIONAL: Lock to a specific commit
33-
# cd "${ROOT_DIR}/oas"
34-
# git checkout <HASH>
34+
if [[ "$OAS_REPO_NAME" == "https://github.com/stackitcloud/stackit-api-specifications.git" ]]; then
35+
cd "${ROOT_DIR}/oas"
36+
git checkout 335aa32af4d6c0d2a036b8567773da2f051f7efb
37+
fi
3538

3639
# NOTE: Everything below is needed for the "compatibility layer" logic.
3740
# It can be completely removed once the compatibility layer isn't needed anymore in the SDK.

0 commit comments

Comments
 (0)