File tree Expand file tree Collapse file tree 4 files changed +59
-33
lines changed
Expand file tree Collapse file tree 4 files changed +59
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish Python Package
2+
3+ on :
4+ # release:
5+ # types: [created]
6+ # Temporary on push to main, for testing
7+ push :
8+ branches :
9+ - main
10+
11+ env :
12+ # Set this to true manually in the GitHub workflow UI if you want to publish to PyPI
13+ # Will always publish to testpypi
14+ PUBLISH_TO_PYPI : false
15+
16+ jobs :
17+ publish :
18+ name : Publish to TestPyPI and optionally PyPI
19+ runs-on : ubuntu-latest
20+
21+ permissions :
22+ id-token : write # Required for trusted publishing
23+ contents : read
24+
25+ steps :
26+ - name : Checkout code
27+ uses : actions/checkout@v4
28+
29+ - name : Install the latest version of uv
30+ uses : astral-sh/setup-uv@v6
31+ with :
32+ version : " latest"
33+
34+ - name : Build package
35+ run : uv build
36+
37+ - name : Upload artifacts to GitHub Release
38+ if : env.PUBLISH_TO_PYPI == 'true'
39+ uses : softprops/action-gh-release@v2
40+ with :
41+ files : |
42+ dist/*.tar.gz
43+ dist/*.whl
44+
45+ - name : Publish to TestPyPI
46+ run : uv publish --index testpypi
47+
48+ - name : Publish to PyPI (conditional)
49+ if : env.PUBLISH_TO_PYPI == 'true'
50+ run : uv publish
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ build-backend = "hatchling.build"
33requires = [" hatchling" ]
44
55[project ]
6- name = " serena"
7- version = " 0.1.0 "
6+ name = " serena-agent "
7+ version = " 2025.07.20 "
88description = " "
99authors = [{ name = " Oraios AI" , email = " info@oraios-ai.de" }]
1010readme = " README.md"
@@ -36,6 +36,12 @@ dependencies = [
3636 " anthropic>=0.54.0" ,
3737]
3838
39+ [[tool .uv .index ]]
40+ name = " testpypi"
41+ url = " https://test.pypi.org/simple/"
42+ publish-url = " https://test.pypi.org/legacy/"
43+ explicit = true
44+
3945[project .scripts ]
4046serena = " serena.cli:top_level"
4147serena-mcp-server = " serena.cli:start_mcp_server"
Original file line number Diff line number Diff line change 1- __version__ = "2025-06-21 "
1+ __version__ = "2025.07.20 "
22
33import logging
44
You can’t perform that action at this time.
0 commit comments