File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " mcp_client_cli"
7- version = " 1.0.0 "
7+ version = " 1.0.1 "
88description = " Command line interface for MCP client"
99readme = " README.md"
1010requires-python = " >=3.12"
You can’t perform that action at this time.
0 commit comments