Skip to content

Commit bcc0765

Browse files
use uv to create new release
1 parent 993c897 commit bcc0765

2 files changed

Lines changed: 32 additions & 5 deletions

File tree

.rultor.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,22 @@ assets:
99
architect:
1010
- yegor256
1111
install: |
12-
python3 -m pip install twine
12+
curl -LsSf https://astral.sh/uv/install.sh | sh
13+
source $HOME/.local/bin/env
14+
export PATH="$HOME/.local/bin:$PATH"
15+
uv tool install twine
1316
merge:
1417
script: |
18+
export PATH="$HOME/.local/bin:$PATH"
1519
make
1620
release:
1721
script: |-
22+
export PATH="$HOME/.local/bin:$PATH"
1823
sed -i "s/0\.0\.0/${tag}/g" aibolit/__init__.py
1924
git add aibolit/__init__.py
2025
git commit -am "${tag}"
21-
python3 --version
22-
python3 -m pip --version
26+
uv run python --version
27+
uv --version
2328
make
24-
python3 setup.py sdist bdist_wheel
25-
python3 -m twine upload dist/* -u __token__ -p $(cat ../twine_token)
29+
uv build
30+
uv run twine upload dist/* -u __token__ -p $(cat ../twine_token)

uv.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)