summaryrefslogtreecommitdiff
path: root/hstcal/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'hstcal/meta.yaml')
-rw-r--r--hstcal/meta.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/hstcal/meta.yaml b/hstcal/meta.yaml
index 955d36b..a891b0b 100644
--- a/hstcal/meta.yaml
+++ b/hstcal/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'hstcal' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '1' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '2' %}
about:
home: https://github.com/spacetelescope/{{ name }}