diff options
Diffstat (limited to 'relic/meta.yaml')
-rw-r--r-- | relic/meta.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/relic/meta.yaml b/relic/meta.yaml index dcd41c0..997c90e 100644 --- a/relic/meta.yaml +++ b/relic/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'relic' %} -{% 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: http://github.com/jhunkeler/{{ name }} @@ -19,10 +20,10 @@ package: requirements: build: - setuptools - - python x.x + - python {{ python }} run: - - python x.x + - python source: git_url: https://github.com/jhunkeler/{{ name }}.git |