mirror of
https://github.com/ankitects/anki.git
synced 2026-01-16 15:29:10 -05:00
13 lines
298 B
Bash
Executable file
13 lines
298 B
Bash
Executable file
#!/bin/bash
|
|
|
|
export UV_PUBLISH_TOKEN=$(pass show w/pypi-api-test)
|
|
|
|
# Get the project root (two levels up from qt/release)
|
|
PROJ_ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
|
|
# Use extracted uv binary
|
|
UV="$PROJ_ROOT/out/extracted/uv/uv"
|
|
|
|
rm -rf dist
|
|
"$UV" build --wheel
|
|
"$UV" publish --index testpypi
|