Skip to content

Commit

Permalink
add config to control version in generated package
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCourier committed Mar 8, 2024
1 parent f20a0b4 commit 9b78e8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
python3 -m pip install openapi-python-client;
version=$(yq '.info.version' open-api-spec.yml);
rm -rf ./guard-rails-api-client;
openapi-python-client generate --path ./open-api-spec.yml --meta setup;
openapi-python-client generate --config ./config.json --path ./open-api-spec.yml --meta setup;
3 changes: 3 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"package_version_override": "0.0.2"
}

0 comments on commit 9b78e8f

Please sign in to comment.