Skip to content

Commit

Permalink
Install dependencies required for API ref generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Oct 16, 2024
1 parent 0fab698 commit 98336e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .changeset/long-trains-fold.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@e2b/cli': patch
'@e2b/cli': major
---

Release new CLI version
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Generate API Ref
run: |
cd packages/python-sdk && pnpm run generate-api-reference
cd ../js-sdk && pnpm run generate-api-reference
cd ../cli && pnpm run generate-api-reference
run: pnpm run generate-api-reference

- name: Update lock file
run: pnpm i --no-link --no-frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion packages/python-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"postVersion": "poetry version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
"postPublish": "poetry build && poetry config pypi-token.pypi ${PYPI_TOKEN} && poetry publish --skip-existing",
"pretest": "poetry install",
"generate-api-reference": "./scripts/generate_api_ref.sh"
"generate-api-reference": "poetry install && ./scripts/generate_api_ref.sh"
}
}

0 comments on commit 98336e9

Please sign in to comment.