Skip to content

Commit 7ca0c02

Browse files
committed
fix: create folder if it does not exist
1 parent 133e2a7 commit 7ca0c02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/scripts/split_spec.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ foascli split -s openapi-foas.json --env "${target_env:?}" -o ./openapi/v2/opena
1313
foascli filter -s openapi-foas.json --env "${target_env:?}" -o ./openapi/v2.json --format all
1414

1515
# Moves the unfiltered OAS to the raw folder
16+
mkdir -p ./openapi/.raw
1617
mv -f "openapi-foas.json" "./openapi/.raw/v2.json"
1718
mv -f "openapi-foas.yaml" "./openapi/.raw/v2.yaml"
1819

0 commit comments

Comments
 (0)