@@ -46,7 +46,7 @@ The workflow follows semantic versioning:
4646### What Happens During Release
4747
48481 . ** Version Update** : Updates ` __version__ ` in ` src/apihub_client/__init__.py `
49- 2 . ** Git Operations** :
49+ 2 . ** Git Operations** :
5050 - Commits version change to main branch
5151 - Creates and pushes git tag (e.g., ` v1.2.3 ` )
52523 . ** Quality Checks** :
@@ -67,8 +67,9 @@ And these repository variables:
6767- ` PUSH_TO_MAIN_APP_ID ` : GitHub App ID (can be same as secret)
6868
6969** PyPI Setup** : This workflow uses PyPI Trusted Publishers with ` uv publish ` for secure publishing. You need to:
70+
70711 . Configure the GitHub repository as a trusted publisher on PyPI
71- 2 . Set up the trusted publisher for the ` apihub-python-client ` package
72+ 2 . Set up the trusted publisher for the ` apihub-python-client ` package
72733 . No API tokens required - ` uv publish ` automatically handles OIDC authentication
7374
7475## Manual Release Workflow
@@ -114,21 +115,25 @@ The `publish-on-release.yml` workflow runs when you manually create a release th
114115### Common Issues
115116
116117** Workflow fails at version bump:**
118+
117119- Check that the current version in ` __init__.py ` follows semantic versioning
118120- Ensure the main branch is up to date
119121
120122** Tests fail during release:**
123+
121124- Check the latest test results on main branch
122125- Fix failing tests before attempting release
123126
124127** PyPI publish fails:**
125- - Verify PyPI Trusted Publisher is configured correctly
128+
129+ - Verify PyPI Trusted Publisher is configured correctly
126130- Check if version already exists on PyPI
127131- Ensure package builds successfully locally with ` uv build `
128132- Verify the repository and workflow file match the trusted publisher configuration
129133- Check that ` uv publish ` has proper OIDC token access (requires ` id-token: write ` permission)
130134
131135** Permission errors:**
136+
132137- Verify GitHub App has necessary permissions
133138- Check that secrets and variables are properly configured
134139
@@ -180,6 +185,7 @@ To configure PyPI Trusted Publishers:
180185 - ** Environment name** : Leave empty (unless using GitHub environments)
1811863 . ** Save the configuration**
182187
183- For more details, see:
188+ For more details, see:
189+
184190- https://docs.pypi.org/trusted-publishers/
185- - https://docs.astral.sh/uv/guides/publish/#trusted-publishing
191+ - https://docs.astral.sh/uv/guides/publish/#trusted-publishing
0 commit comments