Skip to content

Commit b10d32b

Browse files
authored
ci: add publish workflow (#10)
1 parent 41c0262 commit b10d32b

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: publish-${{ github.head_ref || github.run_id }}
11+
cancel-in-progress: false
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: astral-sh/setup-uv@v6
21+
with:
22+
python-version: 3.10
23+
24+
- name: Publish to PyPI
25+
run: uv publish --frozen
26+
env:
27+
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[project]
22
name = "mcpauth"
3-
version = "0.0.0"
3+
version = "0.1.0-beta.0"
44
description = "Plug-and-play auth for Python MCP servers."
55
authors = [{ name = "Silverhand Inc.", email = "[email protected]" }]
66
readme = "README.md"
7-
requires-python = ">=3.10"
7+
requires-python = "<4.0,>=3.10"
88
license = "MIT"
99
keywords = [
1010
"authentication",

0 commit comments

Comments
 (0)