forked from olivierfriard/BORIS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (19 loc) · 754 Bytes
/
justfile
File metadata and controls
28 lines (19 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# list of recipes
default:
just --list
# create a wheel with last version
build:
rm -rf *.egg-info build dist
# update version in pyproject.toml
uv version $(grep '__version__' boris/version.py | awk -F'"' '{print $2}')
# sed -i "/^version = /c\version = \"$(grep '__version__' boris/version.py | awk -F'"' '{print $2}')\"" pyproject.toml
# sed -i "/^current_version = /c\current_version = \"$(grep '__version__' boris/version.py | awk -F'"' '{print $2}')\"" pyproject.toml
git commit -am "new wheel" || true
git push
uv build
publish:
# uvx twine upload --verbose --repository pypi dist/*
uv publish
publish_test:
uvx twine upload --verbose --repository testpypi dist/*
# uv publish --index