File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,17 @@ jobs:
3333 - name : Update version in __init__.py
3434 if : ${{ steps.release.outputs.release_created }}
3535 run : |
36- uv run --python-dep tomli scripts/update_version.py
36+ uv run scripts/update_version.py
3737
3838 - name : Build and publish package
3939 if : ${{ steps.release.outputs.release_created }}
4040 env :
4141 UV_PUBLISH_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
4242 run : |
43+ # Make sure py.typed files exist
44+ touch py.typed
45+ mkdir -p stackone_ai
46+ touch stackone_ai/py.typed
47+
4348 uv build
4449 uv publish
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ # /// script
3+ # requires-python = ">=3.11"
4+ # ///
15import re
26from pathlib import Path
37
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2+ # /// script
3+ # requires-python = ">=3.11"
4+ # dependencies = [
5+ # "tomli",
6+ # ]
7+ # ///
28"""
39Script to ensure version consistency between pyproject.toml and __init__.py.
410Run this script after release-please updates the version in pyproject.toml.
5-
6- Dependencies:
7- - tomli
811"""
912
1013import re
You can’t perform that action at this time.
0 commit comments