Spaces:
Running
Running
Yorrick Jansen
Claude
commited on
Commit
·
ffb6562
1
Parent(s):
9a30fd5
Configure GitHub Actions to publish to PyPI only on tagged commits
Browse files🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
- .github/workflows/ci.yml +2 -0
- pyproject.toml +1 -1
.github/workflows/ci.yml
CHANGED
|
@@ -3,6 +3,7 @@ name: CI/CD Pipeline
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches: [ main, master ]
|
|
|
|
| 6 |
pull_request:
|
| 7 |
branches: [ main, master ]
|
| 8 |
|
|
@@ -123,6 +124,7 @@ jobs:
|
|
| 123 |
publish:
|
| 124 |
needs: build
|
| 125 |
runs-on: ubuntu-latest
|
|
|
|
| 126 |
environment:
|
| 127 |
name: pypi
|
| 128 |
permissions:
|
|
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches: [ main, master ]
|
| 6 |
+
tags: ['*']
|
| 7 |
pull_request:
|
| 8 |
branches: [ main, master ]
|
| 9 |
|
|
|
|
| 124 |
publish:
|
| 125 |
needs: build
|
| 126 |
runs-on: ubuntu-latest
|
| 127 |
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
| 128 |
environment:
|
| 129 |
name: pypi
|
| 130 |
permissions:
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[project]
|
| 2 |
name = "strava-mcp"
|
| 3 |
-
version = "
|
| 4 |
description = "Strava integration for MCP"
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.13"
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "strava-mcp"
|
| 3 |
+
version = "0.4.0"
|
| 4 |
description = "Strava integration for MCP"
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.13"
|