28
.github/workflows/ci.yaml
vendored
28
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user