fix(python-client): not publishinf windmill-api

This commit is contained in:
Ruben Fiszel
2022-10-15 08:48:54 +02:00
parent 9e9ec6e7e6
commit 4e15ce62c1
2 changed files with 4 additions and 2 deletions
+1 -2
View File
@@ -2,5 +2,4 @@ openapi-deref.yaml
dist/
__pycache__/
openapi.yaml
openflow.openapi.yaml
windmill-api/
windmill-api/
+3
View File
@@ -9,6 +9,8 @@ sed -z 's/FlowModuleValue:/FlowModuleValue2:/' openapi-bundled.yaml > openapi-d
echo " FlowModuleValue: {}" >> openapi-decycled.yaml
npx @redocly/openapi-cli@latest bundle openapi-decycled.yaml --ext json -d > openapi-deref.json
sed '$d' .gitignore > .gitignore2
mv .gitignore2 .gitignore
rm -rf windmill-api/ || true
openapi-python-client generate --config $PWD/python-gen.yaml --path openapi-deref.json
@@ -35,3 +37,4 @@ mv windmill-api/README.md.tmp windmill-api/README.md
cd windmill-api && poetry build
cd ../wmill && poetry build
cd ../wmill_pg && poetry build
cd .. && echo "windmill-api/" >> .gitignore