mirror of https://github.com/phonopy/phonopy.git
Switch to build.sh generated version numbers.
This commit is contained in:
parent
3b1f43f24f
commit
7c62c6564f
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
git describe --tags --dirty | sed -e 's/-\(.*\)-g.*/+\1/' -e 's/^v//g' > __conda_version__.txt
|
||||
|
||||
$PYTHON setup.py install
|
||||
|
||||
# Add more build steps here, if they are necessary.
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package:
|
||||
name: phonopy
|
||||
version: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
|
||||
|
||||
source:
|
||||
git_url: https://github.com/jochym/phonopy.git
|
||||
|
@ -18,7 +17,7 @@ build:
|
|||
|
||||
# If this is a new build for the same version, increment the build
|
||||
# number. If you do not include this key, it defaults to 0.
|
||||
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
|
||||
number: 0
|
||||
|
||||
requirements:
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue