Skip to content

feat: support Python 3.9+ with optional MCP server support (#28) #28

feat: support Python 3.9+ with optional MCP server support (#28)

feat: support Python 3.9+ with optional MCP server support (#28) #28

Workflow file for this run

name: Release Please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.1.1
id: release
with:
config-file: .release-please-config.json
manifest-file: .release-please-manifest.json
# Only release to PyPI when a new release is created
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
if: ${{ steps.release.outputs.release_created }}
- name: Install uv
if: ${{ steps.release.outputs.release_created }}
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
with:
python-version: "3.11"
enable-cache: true
- name: Update version in __init__.py
if: ${{ steps.release.outputs.release_created }}
run: |
uv run scripts/update_version.py
- name: Build and publish package
if: ${{ steps.release.outputs.release_created }}
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
uv build
uv publish