Commit bb661c62 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: Minor template formatting tweak

parent 15d92310
......@@ -3,7 +3,10 @@
# The git repository for this conda recipe is: {{ template_recipe_repository }}
{% if 'cuda' not in sub_template %}
{{ '{%' }} set name = '{{ template_name }}' {{ '%}' }}
{{ '{%' }} set name = '{{ template_name }}' {{ '%}' }}
{{ '{%' }} set version = '{{ template_version }}' {{ '%}' }}
{{ '{%' }} set repository = '{{ template_repository }}' {{ '%}' }}
{{ '{%' }} set build = '{{ template_build }}' {{ '%}' }}
{% else %}
# Note that multiple conda packages are built from
# this recipe - one package is built for each
......@@ -20,11 +23,10 @@
{{ '{%' }} set cuda_version = os.environ["CUDA_VER"] {{ '%}' }}
{{ '{%' }} set cuda_label = '-cuda-' + cuda_version {{ '%}' }}
{{ '{%' }} set name = '{{ template_name }}' + cuda_label {{ '%}' }}
{% endif %}
{{ '{%' }} set version = '{{ template_version }}' {{ '%}' }}
{{ '{%' }} set repository = '{{ template_repository }}' {{ '%}' }}
{{ '{%' }} set build = '{{ template_build }}' {{ '%}' }}
{% endif %}
package:
name: {{ '{{ name }}' }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment