back to getting version for conda from tag (#1060)

This commit is contained in:
maliakal_d 2024-11-26 14:35:38 +01:00 committed by GitHub
parent ce41e8aa34
commit dee86c63eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 8 deletions

View File

@ -8,7 +8,4 @@ cd python
# copy VERSION into slsdet for installation # copy VERSION into slsdet for installation
cp ../VERSION slsdet/VERSION 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 ${PYTHON} setup.py install

View File

@ -1,10 +1,6 @@
{% set version = environ.get('SLS_DET_VERSION', '0.0.0') %}
package: package:
name: sls_detector_software name: sls_detector_software
version: "{{ version }}" version: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
source: source: