mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
version number automated for python build
This commit is contained in:
8
conda-recipes/build_conda.sh
Executable file
8
conda-recipes/build_conda.sh
Executable file
@ -0,0 +1,8 @@
|
||||
|
||||
SCRIPTDIR=$(cd "$(dirname "$0")" && pwd)
|
||||
VERSION=$(cat $SCRIPTDIR/../VERSION)
|
||||
export VERSION
|
||||
|
||||
echo "building conda package version: $VERSION"
|
||||
|
||||
conda build .
|
@ -1,8 +1,8 @@
|
||||
#{% set version = load_file('VERSION').strip %}
|
||||
package:
|
||||
name: sls_detector_software
|
||||
version: 2025.3.19
|
||||
|
||||
|
||||
version: {{ environ.get('VERSION') }} #2025.3.19
|
||||
|
||||
source:
|
||||
path: ../..
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
package:
|
||||
name: slsdet
|
||||
version: 2025.3.19 #TODO! how to not duplicate this?
|
||||
|
||||
version: 0.0.0
|
||||
source:
|
||||
path: ../..
|
||||
|
||||
|
Reference in New Issue
Block a user