Skip to content

Commit 420bf00

Browse files
committed
Update
1 parent 68aed82 commit 420bf00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/scripts/split_spec.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
set -eou pipefail
33

44
echo "Running FOAS CLI versions command"
5-
foascli versions -s openapi-foas.json -o ./openapi/v2/versions.json --env "${target_env:?}"
5+
foascli versions -s openapi-foas.json -o ./openapi/v2/versions.json --env "${target_env:?}" --stability-level stable
6+
7+
echo "Running FOAS CLI versions command for preview"
8+
foascli versions -s openapi-foas.json -o ./openapi/preview/versions.json --env "${target_env:?}" --stability-level preview
69

710
echo "Running FOAS CLI split command with the following --env=${target_env:?} and -o=./openapi/v2/openapi.json"
811

0 commit comments

Comments
 (0)