Skip to content

Commit b7fa6ff

Browse files
authored
Fixing release process (#12)
* start with debugging * version provided for python sdk * fix ubuntu version * moved from uv to poetry * added description * removed unused steps * Revert "start with debugging" This reverts commit 40a86c8
1 parent 17f38eb commit b7fa6ff

File tree

6 files changed

+604
-425
lines changed

6 files changed

+604
-425
lines changed

.github/workflows/publish_packages.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
test:
1616
name: Publish MCP Server
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- uses: actions/create-github-app-token@v1
2020
id: app-token
@@ -63,13 +63,6 @@ jobs:
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565

66-
- name: Generate SDK reference
67-
id: sdk-ref
68-
run: pnpm run --recursive generate-ref
69-
70-
- name: Show docs file structure
71-
run: tree ./sdk-reference
72-
7366
- name: Release new versions
7467
uses: changesets/action@v1
7568
with:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
is_release:
1515
name: Is release?
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717
outputs:
1818
release: ${{ steps.version.outputs.release }}
1919
steps:
@@ -52,7 +52,7 @@ jobs:
5252
name: Repository changes
5353
needs: [is_release]
5454
if: needs.is_release.outputs.release == 'true'
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-22.04
5656
outputs:
5757
js-sdk: ${{ steps.js.outputs.release }}
5858
python-sdk: ${{ steps.python.outputs.release }}
@@ -105,7 +105,7 @@ jobs:
105105
needs: [publish]
106106
if: failure()
107107
name: Release Failed - Slack Notification
108-
runs-on: ubuntu-latest
108+
runs-on: ubuntu-22.04
109109
steps:
110110
- name: Release Failed - Slack Notification
111111
uses: rtCamp/action-slack-notify@v2

packages/python/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@e2b/python-mcp-server",
33
"private": true,
4+
"version": "0.1.0",
45
"scripts": {
56
"postVersion": "poetry version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
67
"postPublish": "poetry build && poetry config pypi-token.pypi ${PYPI_TOKEN} && poetry publish --skip-existing"

0 commit comments

Comments
 (0)