forked from M-Labs/artiq
1
0
Fork 0

conda: use the outputs section to dynamically name packages.

This commit is contained in:
whitequark 2018-02-22 09:25:18 +00:00
parent c3b8fe06eb
commit d83ae0bc6a
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
package:
name: artiq-{{ environ.get("ARTIQ_TARGET") }}-{{ environ.get("ARTIQ_VARIANT") }}
name: artiq-build
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}
source:
@ -10,6 +10,12 @@ build:
ignore_prefix_files: True
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
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:
build: