Anki/qt/launcher/publish-release.sh
Damien Elmes 90e1264895 qt/bundle -> qt/launcher
- remove more of the old bundling code
- handle app icon
2025-06-16 19:20:12 +07:00

14 lines
308 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/bundle)
PROJ_ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
# Use extracted uv binary
UV="$PROJ_ROOT/out/extracted/uv/uv"
cd release
rm -rf dist
"$UV" build --wheel
"$UV" publish --index testpypi