conda: use BUILDNUMBER from environment.

This commit is contained in:
whitequark 2016-01-05 15:46:42 +00:00
parent 57ae630c5c
commit ff09a982c5
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ source:
build:
noarch_python: true
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
number: {{ environ.get("BUILDNUMBER", 9999) }}
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }}
requirements:

View File

@ -7,7 +7,7 @@ source:
build:
noarch_python: true
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
number: {{ environ.get("BUILDNUMBER", 9999) }}
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }}
requirements:

View File

@ -7,7 +7,7 @@ source:
build:
noarch_python: true
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
number: {{ environ.get("BUILDNUMBER", 9999) }}
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }}
requirements:

View File

@ -7,7 +7,7 @@ source:
build:
noarch_python: true
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
number: {{ environ.get("BUILDNUMBER", 9999) }}
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }}
entry_points:
- artiq_client = artiq.frontend.artiq_client:main