Skip to content

Commit 5798a2c

Browse files
committed
release v1.0.1
1 parent b63356c commit 5798a2c

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
permissions:
1616
id-token: write
17+
contents: write # Required for creating GitHub releases
1718

1819
steps:
1920
- uses: actions/checkout@v4
@@ -39,5 +40,17 @@ jobs:
3940
source .venv/bin/activate
4041
python -m build
4142
43+
- name: Get version
44+
id: get_version
45+
run: |
46+
echo "VERSION=$(python setup.py --version)" >> $GITHUB_OUTPUT
47+
4248
- name: Publish package to PyPI
43-
uses: pypa/gh-action-pypi-publish@release/v1
49+
uses: pypa/gh-action-pypi-publish@release/v1
50+
51+
- name: Create GitHub Release
52+
uses: softprops/action-gh-release@v1
53+
with:
54+
tag_name: v${{ steps.get_version.outputs.VERSION }}
55+
name: Release v${{ steps.get_version.outputs.VERSION }}
56+
generate_release_notes: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mcp_client_cli"
7-
version = "1.0.0"
7+
version = "1.0.1"
88
description = "Command line interface for MCP client"
99
readme = "README.md"
1010
requires-python = ">=3.12"

0 commit comments

Comments
 (0)