Skip to content

Commit f773ea9

Browse files
amrit110fcogidi
authored andcommitted
ci: switch to PyPI Trusted Publishers, add GitHub release, and bump to v0.2.1
1 parent 35381c8 commit f773ea9

3 files changed

Lines changed: 1518 additions & 1510 deletions

File tree

.github/workflows/publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
needs: build
2929
runs-on: ubuntu-latest
3030
environment: pypi
31+
permissions:
32+
id-token: write
33+
contents: write
3134

3235
steps:
3336
- uses: actions/download-artifact@v4
@@ -37,5 +40,10 @@ jobs:
3740

3841
- name: Publish to PyPI
3942
uses: pypa/gh-action-pypi-publish@release/v1
43+
44+
- name: Create GitHub Release
45+
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd
4046
with:
41-
password: ${{ secrets.PYPI_API_TOKEN }}
47+
artifacts: "dist/*"
48+
generateReleaseNotes: true
49+
allowUpdates: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "infermesh"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Run large LLM batches from notebooks and scripts without rewriting concurrency or rate-limit glue."
55
readme = "README.md"
66
license = { text = "Apache-2.0" }

0 commit comments

Comments
 (0)