Skip to content

Commit

Permalink
Tweak tag support for CircleCI 2.0 (#41)
Browse files Browse the repository at this point in the history
* Tweak tag support for CircleCI 2.0

* fix missing colon
  • Loading branch information
Hayato Matsuura authored Apr 1, 2018
1 parent 4a3d54c commit 3e319cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
glide i
- run:
name: Deploy
tag: /v[0-9]+(\.[0-9]+)+/
command: |
cd $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
go get github.com/mitchellh/gox
Expand All @@ -61,7 +60,10 @@ workflows:
version: 2
test_and_deploy:
jobs:
- test
- test:
filters:
tags:
only: /.*/
- deploy:
requires:
- test
Expand Down

0 comments on commit 3e319cf

Please sign in to comment.