forked from M-Labs/artiq
conda: use the outputs section to dynamically name packages.
This commit is contained in:
parent
c3b8fe06eb
commit
d83ae0bc6a
|
@ -1,5 +1,5 @@
|
||||||
package:
|
package:
|
||||||
name: artiq-{{ environ.get("ARTIQ_TARGET") }}-{{ environ.get("ARTIQ_VARIANT") }}
|
name: artiq-build
|
||||||
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}
|
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}
|
||||||
|
|
||||||
source:
|
source:
|
||||||
|
@ -10,6 +10,12 @@ build:
|
||||||
ignore_prefix_files: True
|
ignore_prefix_files: True
|
||||||
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
||||||
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
||||||
|
script_env:
|
||||||
|
- ARTIQ_TARGET
|
||||||
|
- ARTIQ_VARIANT
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
- name: artiq-{{ environ.get("ARTIQ_TARGET") }}-{{ environ.get("ARTIQ_VARIANT") }}
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in New Issue