Skip to content

Commit 84910c2

Browse files
authored
chore: publish dev to test-pypi (#5174)
Publish dev releases to test-pypi on main
1 parent 244eef9 commit 84910c2

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/dev-release.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ jobs:
5050
- name: 🥚 Install Hatch
5151
uses: pypa/hatch@install
5252

53-
- name: Adapt pyproject.toml to build marimo-base
54-
run: ./scripts/modify_pyproject_for_marimo_base.sh
55-
5653
# patch __init__.py version to be of the form
5754
# X.Y.<Z+1>-dev{n-commits-since-last-tag}
5855
- name: 🔨 Patch version number
@@ -69,13 +66,25 @@ jobs:
6966
echo "MARIMO_VERSION=$MARIMO_VERSION" >> $GITHUB_ENV
7067
sed -i "s/__version__ = \".*\"/__version__ = \"$MARIMO_VERSION\"/" marimo/__init__.py
7168
69+
- name: 📦 Build marimo
70+
run: hatch build
71+
72+
- name: 📤 Upload to TestPyPI (marimo)
73+
env:
74+
HATCH_INDEX_USER: ${{ secrets.PYPI_USER }}
75+
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
76+
run: hatch publish
77+
78+
- name: Adapt pyproject.toml to build marimo-base
79+
run: ./scripts/modify_pyproject_for_marimo_base.sh
80+
7281
- name: 📦 Build marimo
7382
run: hatch build --clean
7483

7584
- name: 📦 Validate wheel under 2mb
7685
run: ./scripts/validate_base_wheel_size.sh
7786

78-
- name: 📤 Upload to TestPyPI
87+
- name: 📤 Upload to TestPyPI (marimo-base)
7988
env:
8089
HATCH_INDEX_USER: ${{ secrets.TEST_PYPI_USER }}
8190
HATCH_INDEX_AUTH: ${{ secrets.TEST_PYPI_MARIMO_BASE_PASSWORD }}
@@ -87,7 +96,7 @@ jobs:
8796
echo "Updating package.json version to ${{ env.MARIMO_VERSION }}"
8897
npm version ${{ env.MARIMO_VERSION }} --no-git-tag-version
8998
90-
- name: 📤 Upload wasm to npm
99+
- name: 📤 Upload wasm to npm (@marimo-team/frontend)
91100
working-directory: frontend
92101
env:
93102
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -115,7 +124,7 @@ jobs:
115124
pnpm turbo build:islands
116125
./islands/validate.sh
117126
118-
- name: 📤 Upload islands to npm
127+
- name: 📤 Upload islands to npm (@marimo-team/islands)
119128
working-directory: frontend
120129
env:
121130
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)