mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

- Switch to Qt 6.8 for repo default, as 6.7 depends on an older libwebp/tiff which is unavailable on newer installs - Drop tools/mac-x86, as we no longer need to test against Qt 5 - Add flags to cross compile wheels on Mac and Linux - Bump glibc target to 2_36, building on Debian Stable - Increase mpv timeout on macOS to allow for initial gatekeeper checks - Ship both arm64 and amd64 uv on Linux, with a bash stub to pick the appropriate arch.
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
|