Skip to content

Commit 15a17b7

Browse files
committed
use uv to build and publish package
1 parent 18cd306 commit 15a17b7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Justfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ test *args:
1818
uv run pytest {{ args }}
1919

2020
publish:
21-
rm -rf dist/*
22-
uv tool run --from build python -m build --installer uv
23-
uv tool run twine check dist/*
24-
uv tool run twine upload dist/* --username __token__ --password $PYPI_TOKEN
21+
rm -rf dist
22+
uv build
23+
uv publish --token $PYPI_TOKEN

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FastAPI versioning library
44
[![MyPy Strict](https://img.shields.io/badge/mypy-strict-blue)](https://mypy.readthedocs.io/en/stable/getting_started.html#strict-mode-and-configuration)
55
[![Supported versions](https://img.shields.io/pypi/pyversions/fast-version.svg)](https://pypi.python.org/pypi/fast-version)
66
[![downloads](https://img.shields.io/pypi/dm/fast-version.svg)](https://pypistats.org/packages/fast-version)
7-
[![GitHub stars](https://img.shields.io/github/stars/modern-python/fast-version)](https://github.com/modern-python/fast-version/stargazers)
7+
[![GitHub stars](https://img.shields.io/github/stars/community-of-python/fast-version)](https://github.com/community-of-python/fast-version/stargazers)
88

99
<img src="./logo.svg" width="250" />
1010

0 commit comments

Comments
 (0)