Forcing ci to install semantic version for all branches.
machine:
services:
- docker
- pre:
- - if [ $CIRCLE_BRANCH = 'master' ]; then pip install semantic-version; fi
dependencies:
override:
@@ -21,11 +19,13 @@ deployment:
production:
branch: master
commands:
+ - pip install semantic-version
- ./deploy.sh
- docker run -t -v $PWD:$PWD --workdir $PWD kubos/kubos-docs:latest sh prep_docs.sh
- ./deploy_docs.sh
release:
tag: /^[0-9]+(\.[0-9]+)*$/
commands:
+ - pip install semantic-version
- docker run -t -v $PWD:$PWD --workdir $PWD kubos/kubos-docs:latest sh prep_docs.sh
- ./deploy_docs.sh
