[release] tag-prefix = "v" [build] targets = [ "x86_64-unknown-linux-gnu", "x86_64-pc-windows-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", ] profile = "release" locked = true [build.apple] image = "ghcr.io/rust-cross/cargo-zigbuild@sha256:9b4f6b3eb9e8f9fefb3960fe288ddba576627d66d9eff851ce7f62d2455564a5" deployment-target = "13.0" sdk-root = "/opt/MacOSX11.3.sdk" [package] format = "tgz" [[package.bundles]] name = "portable" targets = ["x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin"] formats = { x86_64-pc-windows-gnu = "zip", x86_64-unknown-linux-gnu = "tgz", aarch64-apple-darwin = "zip", x86_64-apple-darwin = "zip" } archive-name = "{name}-{bundle}-{target}-v{version}" root = "{name}-{bundle}-{target}-v{version}" cargo-binaries = "all" files = [ { source = "LICENSE", destination = "LICENSES/reporter-MIT.txt", workspace-relative = true }, { source = "assets/fonts/LICENSE", destination = "LICENSES/DejaVu.txt" }, { source = "docs/portable-quickstart.txt", destination = "README.txt", workspace-relative = true }, ] [package.bundles.prepare] command = ["python3", "../../scripts/prepare-release.py", "--context", "{context-file}", "--manifest", "{manifest-file}"] inputs = ["ffprobe-pins.json", "workspace:scripts/prepare-release.py", "workspace:scripts/fetch_ffprobe.py", "workspace:scripts/build_macos_ffprobe.py", "workspace:scripts/ffprobe-macos-cc.py", "workspace:scripts/macos_binary.py"] timeout-seconds = 1800 required-destinations = ["ffprobe{binary-ext}", "LICENSES/ffmpeg/LICENSE.txt", "LICENSES/ffmpeg/provenance.json"] [[repository.fallbacks]] origin = "https://git.dandaedre.com/Beffroi/beffroi-tools" fallback-url = "https://proxy.dandaedre.com/gitea/Beffroi/beffroi-tools" [gitea] token-env = "GITEA_TOKEN"