XR packaging for Fedora Atomic
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

macOS support for building bottles

+8 -7
+8 -7
scripts/containerized-bottle.nu
··· 9 9 --keep-container (-r) # Don't remove the container after building 10 10 ...args 11 11 ] { 12 - if (jj status | lines | first) != "The working copy has no changes." { 13 - error make { 14 - msg: "Please commit your changes before building bottles." 15 - } 12 + if (sys host).name == "Darwin" { 13 + container run ...( 14 + if not $keep_container {["--rm"]} 15 + ) -it -v $"($tap_dir):/homebrew-tap:ro" -w "/homebrew-tap" -e $"DEPLOY_TOKEN=($env.DEPLOY_TOKEN?)" fedora:latest scripts/ci/bottle.sh $formula ...$args 16 + } else { 17 + podman run ...( 18 + if not $keep_container {["--rm"]} 19 + ) -it -v $"($tap_dir):/homebrew-tap:ro,z" -w "/homebrew-tap" -e $"DEPLOY_TOKEN=($env.DEPLOY_TOKEN?)" fedora:latest scripts/ci/bottle.sh $formula ...$args 16 20 } 17 21 18 - podman run ...( 19 - if not $keep_container {["--rm"]} 20 - ) -it -v $"($tap_dir):/homebrew-tap:ro,z" -w "/homebrew-tap" -e $"DEPLOY_TOKEN=($env.DEPLOY_TOKEN?)" fedora:42 scripts/ci/bottle.sh $formula ...$args 21 22 }