deploy only on tags

This commit is contained in:
Erik Frojdh 2020-03-02 13:12:46 +01:00
parent 95d56ad545
commit cce659d98c
3 changed files with 3 additions and 2 deletions

View File

@ -34,4 +34,5 @@ deploy:
script: find $HOME/miniconda/envs/testenv/conda-bld/${TRAVIS_OS_NAME}-64 -name "*.tar.bz2" -exec anaconda -t $CONDA_TOKEN upload --force {} \;
on:
branch: developer
tags: true

View File

@ -1,7 +1,7 @@
package:
name: sls_detector_software
version: "developer"
version: {{ environ.get('GIT_DESCRIBE_TAG', '') }}
source:
- path: ..

View File

@ -8,7 +8,7 @@ import sys
import setuptools
import os
__version__ = 'udp'
__version__ = os.environ.get('GIT_DESCRIBE_TAG', 'developer')
def get_conda_path():