rattler-build
rattler-build copied to clipboard
Top level skip gets overriden in outputs
For example, the following recipe should be skipped in linux, but it is not
context:
version: "1.0.0"
recipe:
name: "foo"
version: ${{ version }}
build:
skip: linux
outputs:
- package:
name: a
build:
skip: osx
- package:
name: b
build:
skip: win
I guess this is probably an issue with our merging logic, indeed.
I do wonder if it's better to merge the list of skip conditions or just replace the whole key/value (which is the current behavior). I see that there is merit to inheriting the skip conditions but it also complicates the logic a bit (and I also am not sure if all lists should be merged).
Yeah, probably an issue with merging logic. I think of a top-level skip as a directive for the whole recipe to be skipped not as a default for outputs to override later if needed.