Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

- name: Update version in source
run: |
VERSION=${{ steps.version.outputs.VERSION }}
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
sed -i "s/^__version__ = .*/__version__ = \"${VERSION}\"/" axonflow/__init__.py
echo "Updated version to ${VERSION}"
grep version pyproject.toml | head -1
grep __version__ axonflow/__init__.py

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -87,3 +100,29 @@ jobs:

See [CHANGELOG.md](https://github.com/getaxonflow/axonflow-sdk-python/blob/main/CHANGELOG.md) for full release details.
generate_release_notes: false

verify-publish:
needs: publish-pypi
runs-on: ubuntu-latest
steps:
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

- name: Wait for PyPI propagation
run: sleep 30

- name: Verify package on PyPI
run: |
VERSION=${{ steps.version.outputs.VERSION }}
for i in 1 2 3 4 5; do
echo "Attempt $i: Checking PyPI for axonflow==${VERSION}..."
if pip install --dry-run axonflow==${VERSION} 2>&1 | grep -q "Would install"; then
echo "SUCCESS: axonflow ${VERSION} is available on PyPI"
exit 0
fi
echo "Not yet available, waiting 30 seconds..."
sleep 30
done
echo "FAILURE: axonflow ${VERSION} not found on PyPI after 5 attempts"
exit 1
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to the AxonFlow Python SDK will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.5.0] - 2026-02-18
## [3.5.0] - 2026-02-19

### Added

Expand Down
2 changes: 1 addition & 1 deletion axonflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
WorkflowStepInfo,
)

__version__ = "3.4.0"
__version__ = "3.5.0"
__all__ = [
# Main client
"AxonFlow",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "axonflow"
version = "3.4.0"
version = "3.5.0"
description = "AxonFlow Python SDK - Enterprise AI Governance in 3 Lines of Code"
readme = "README.md"
license = {text = "MIT"}
Expand Down