diff --git a/.travis.yml b/.travis.yml index 0f2da0e20..47a37867c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ matrix: before_install: + - git fetch --tags - if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda3.sh; fi - if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3.sh; fi - chmod +x miniconda3.sh @@ -70,6 +71,6 @@ script: cd ${BUILD_DIR} doctr deploy doc if [[ ${TRAVIS_TAG}} ]]; then - doctr deploy doc --no-require-master + doctr deploy . --build-tags fi; fi; diff --git a/setup.cfg b/setup.cfg index d6b61d347..7e46c5c53 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,5 +3,5 @@ VCS = git style = pep440 versionfile_source = randomgen/_version.py versionfile_build = randomgen/_version.py -tag_prefix = +tag_prefix = v parentdir_prefix = randomgen-