Skip to content

Commit

Permalink
add tag workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Jul 5, 2017
1 parent d922c75 commit 8dd7b25
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,12 @@ jobs:
when: on_success
command: |
if [[ $CIRCLE_TAG =~ v[0-9]+\.[0-9]+\.[0-9]+(\-dev)? ]]; then
bash ./deploy.sh
bash ./.circleci/deploy.sh
fi
# this is a workaround for getting the CIRCLE_TAG env variable to work in 2.0
# ref: https://discuss.circleci.com/t/build-on-tag/9864/42
deployment:
fake_deploy_for_cci2:
tag: /.*/
steps:
- run: echo "make tags run in 2.0"

0 comments on commit 8dd7b25

Please sign in to comment.