Python client is built in CI (no new release)
This commit is contained in:
10
gen_python_client.sh
Normal file
10
gen_python_client.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION=$(<VERSION)
|
||||
OPENAPI_VERSION=7.8.0
|
||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${OPENAPI_VERSION}/openapi-generator-cli-${OPENAPI_VERSION}.jar -O openapi-generator-cli.jar
|
||||
|
||||
java -jar openapi-generator-cli.jar generate -i broker/jfjoch_api.yaml -o python-client/ -g python --git-host=git.psi.ch --git-repo-id jungfraujoch --git-user-id jungfraujoch --additional-properties=packageName=jfjoch_client,packageVersion=$VERSION
|
||||
cd python-client
|
||||
python3 setup.py sdist bdist_wheel
|
||||
mv dist/* ..
|
||||
Reference in New Issue
Block a user