diff options
Diffstat (limited to 'd2to1/meta.yaml')
-rw-r--r-- | d2to1/meta.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/d2to1/meta.yaml b/d2to1/meta.yaml index 8ea7776..fe44630 100644 --- a/d2to1/meta.yaml +++ b/d2to1/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'd2to1' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '0' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '1' %} about: home: https://github.com/embray/{{ name }} @@ -19,11 +20,11 @@ package: requirements: build: - setuptools - - python x.x + - python {{ python }} run: - setuptools - - python x.x + - python source: git_url: https://github.com/embray/{{ name }}.git |