We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6abc1 commit 3d52b86Copy full SHA for 3d52b86
.ci/travis-publish-docs.sh
@@ -19,6 +19,7 @@ make htmldocs
19
git config --global user.email "[email protected]"
20
git config --global user.name "Travis CI"
21
22
+PACKAGE_VERSION=$(python ".ci/package-version.py")
23
REPO=$(git config remote.origin.url)
24
SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:}
25
COMMITISH=$(git rev-parse --verify HEAD)
@@ -29,7 +30,7 @@ cd docs/gh-pages
29
30
git checkout "${TARGET_BRANCH}" || git checkout --orphan "${TARGET_BRANCH}"
31
cd ..
32
-if [ -z "${TRAVIS_TAG}" ]; then
33
+if [[ ${PACKAGE_VERSION} = *"dev"* ]]; then
34
VERSION="devel"
35
else
36
VERSION="current"
0 commit comments