Skip to content

Commit

Permalink
back to getting version for conda from tag
Browse files Browse the repository at this point in the history
  • Loading branch information
thattil committed Nov 26, 2024
1 parent ce41e8a commit 3abd728
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions conda-recipe/build_pylib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 1 addition & 5 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 3abd728

Please sign in to comment.