summaryrefslogtreecommitdiff
path: root/cube-tools/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'cube-tools/meta.yaml')
-rw-r--r--cube-tools/meta.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/cube-tools/meta.yaml b/cube-tools/meta.yaml
index 05bb740..ab4c5c7 100644
--- a/cube-tools/meta.yaml
+++ b/cube-tools/meta.yaml
@@ -1,12 +1,16 @@
+{% set name = 'cube-tools' %}
+{% set version = GIT_DESCRIBE_TAG if GIT_DESCRIBE_TAG is not defined '0.0.0' %}
+{% set number = '0' %}
+
about:
home: https://github.com/spacetelescope/cube-tools
license: BSD
summary: cube-tools
build:
- number: '{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}'
+ number: {{ number }}
package:
- name: cube-tools
- version: '{{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}'
+ name: {{ name }}
+ version: {{ version }}
requirements:
build:
- glueviz