mirror of
https://github.com/ankitects/anki.git
synced 2026-09-10 08:39:22 -04:00
Two build fixes found while getting the build working on FreeBSD.
1. **Remove hardcoded `#!/bin/bash` paths and use /usr/bin/env instead
/**
2. **env_remove("YARN_BINARY")**
Tested on FreeBSD 16.0-CURRENT amd64.
A second series adds FreeBSD support with `platform` variants,
environment overrides, PyQt6 handling and docs.
Closes #5301
15 lines
409 B
Bash
Executable File
15 lines
409 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
shopt -s extglob
|
|
|
|
#export UV_PUBLISH_TOKEN=$(pass show w/pypi-api-test)
|
|
#out/extracted/uv/uv publish --index testpypi out/wheels/*
|
|
|
|
export UV_PUBLISH_TOKEN=$(pass show w/pypi-api)
|
|
|
|
# Upload all wheels except anki_release*.whl first
|
|
out/extracted/uv/uv publish out/wheels/!(anki_release*).whl
|
|
# Then upload anki_release*.whl
|
|
out/extracted/uv/uv publish out/wheels/anki_release*.whl
|