We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d51b33 commit af1ae8aCopy full SHA for af1ae8a
conda.recipe/meta.yaml
@@ -4,7 +4,8 @@ package:
4
5
build:
6
number: {{ GIT_DESCRIBE_NUMBER|int }}
7
- string: np{{ CONDA_NPY }}py{{ CONDA_PY }}_{{ GIT_BUILD_STR }}
+ {% if GIT_DESCRIBE_NUMBER|int == 0 %}string: np{{ CONDA_NPY }}py{{ CONDA_PY }}_0
8
+ {% else %}string: np{{ CONDA_NPY }}py{{ CONDA_PY }}_{{ GIT_BUILD_STR }}{% endif %}
9
10
source:
11
git_url: ../
0 commit comments