mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
13 lines
347 B
Bash
Executable file
13 lines
347 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# 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_TOKEN=$(pass show w/pypi-api-test) "$UV" publish --index testpypi
|
|
UV_PUBLISH_TOKEN=$(pass show w/pypi-api) "$UV" publish
|