chore: add pypi deployment step (#5)

Bump version to 0.2.1
This commit is contained in:
Sergey Parfenyuk
2024-12-29 16:16:29 +01:00
committed by GitHub
parent 5ddc091caf
commit f44c9cd123
2 changed files with 29 additions and 1 deletions

View File

@@ -105,3 +105,31 @@ jobs:
with:
jobs: ${{ toJSON(needs) }}
allowed-skips: test-live
release:
needs: [check]
if: "success() && startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: check GITHUB_REF matches package version
uses: samuelcolvin/check-python-version@v4.1
with:
version_file_path: pyproject.toml
- run: uv build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true

View File

@@ -1,7 +1,7 @@
[project]
name = "mcp-proxy"
authors = [{ name = "Sergey Parfenyuk", email = "sergey.parfenyuk@gmail.com" }]
version = "0.2.0"
version = "0.2.1"
requires-python = ">=3.11"
dependencies = ["mcp"]