File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/checkout@v4
2323 with :
24- fetch-depth : 1
24+ fetch-depth : 0
2525
2626 - name : Set up uv and Python
2727 uses : astral-sh/setup-uv@v5
@@ -30,18 +30,14 @@ jobs:
3030 python-version : " 3.13"
3131 cache-dependency-glob : " pyproject.toml"
3232
33- - name : Install python packages
34- run : |
35- uv sync
36- - name : Build a binary wheel and a source tarball
37- run : |
38- uv build --sdist --wheel --out-dir dist
33+ - name : Build
34+ run : uv build
3935
40- - name : Publish build artifacts
36+ - name : Upload build artifacts
4137 uses : actions/upload-artifact@v4
4238 with :
4339 name : pypi-dists
44- path : " ./ dist"
40+ path : dist/
4541
4642 pypi-publish :
4743 runs-on : ubuntu-latest
7369 uses : pypa/gh-action-pypi-publish@release/v1
7470 with :
7571 packages-dir : dist/
72+
7673 github-release :
7774 name : >-
7875 Sign the Python 🐍 distribution 📦 with Sigstore and upload them to GitHub
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" hatchling" ]
2+ requires = [" hatchling" , " uv-dynamic-versioning " ]
33build-backend = " hatchling.build"
44
55[project ]
66name = " browser-use-mcp-server"
7- version = " 0.1.3 "
7+ dynamic = [ " version " ]
88description = " MCP browser-use server library"
99readme = " README.md"
1010requires-python = " >=3.11,<4.0"
@@ -78,3 +78,11 @@ include = ["server"]
7878
7979[tool .hatch .build .targets .wheel ]
8080packages = [" src/browser_use_mcp_server" , " server" ]
81+
82+ [tool .hatch .version ]
83+ source = " uv-dynamic-versioning"
84+
85+ [tool .uv-dynamic-versioning ]
86+ vcs = " git"
87+ style = " pep440"
88+ bump = true
You can’t perform that action at this time.
0 commit comments