Skip to content

Commit e8e186c

Browse files
GeneAIclaude
authored andcommitted
fix: Use PYPI_API_TOKEN for PyPI publishing (v2.2.2)
Trusted Publisher was not configured on PyPI.org. Reverted to using API token authentication which is already set up as a GitHub secret. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 4a6c221 commit e8e186c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ jobs:
7575
--notes-file RELEASE_NOTES.md \
7676
--verify-tag
7777
78-
- name: Publish to PyPI (Trusted Publisher)
78+
- name: Publish to PyPI
7979
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
80-
uses: pypa/gh-action-pypi-publish@release/v1
81-
with:
82-
verbose: true
83-
print-hash: true
80+
env:
81+
TWINE_USERNAME: __token__
82+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
83+
run: |
84+
twine upload dist/* --verbose

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "empathy-framework"
7-
version = "2.2.1"
7+
version = "2.2.2"
88
description = "AI collaboration framework with persistent memory, anticipatory intelligence, and multi-agent orchestration"
99
readme = {file = "README.md", content-type = "text/markdown"}
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)