mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-19 18:40:01 +02:00
back to getting version for conda from tag (#1060)
This commit is contained in:
parent
ce41e8aa34
commit
dee86c63eb
@ -8,7 +8,4 @@ cd python
|
||||
# copy VERSION into slsdet for installation
|
||||
cp ../VERSION slsdet/VERSION
|
||||
|
||||
# to be used to get project version in meta.yaml
|
||||
export SLS_DET_VERSION=$(cat python/slsdet/VERSION)
|
||||
|
||||
${PYTHON} setup.py install
|
||||
|
@ -1,10 +1,6 @@
|
||||
|
||||
{% set version = environ.get('SLS_DET_VERSION', '0.0.0') %}
|
||||
|
||||
|
||||
package:
|
||||
name: sls_detector_software
|
||||
version: "{{ version }}"
|
||||
version: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
|
||||
|
||||
|
||||
source:
|
||||
|
Loading…
x
Reference in New Issue
Block a user