Skip to content

Commit 68aed82

Browse files
committed
CLOUDP-301106: Move preview specs to preview folder
1 parent 6b8cb8f commit 68aed82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/split_spec.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ mv -f "openapi-foas.json" "./openapi/v2.json"
1111

1212
foascli split -s openapi-foas.yaml --env "${target_env:?}" -o ./openapi/v2/openapi.yaml
1313
mv -f "openapi-foas.yaml" "./openapi/v2.yaml"
14+
15+
echo "Moving preview files to preview folder"
16+
find ./openapi/v2 -type f -name "*preview*" -exec mv -f {} ./openapi/preview/ \;

0 commit comments

Comments
 (0)