Skip to content

Commit

Permalink
CircleCI build and release on tag creation
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsc committed Mar 16, 2018
1 parent d040572 commit 0d2068b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ jobs:
- run: ./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME $CIRCLE_TAG ./build.tar.gz
workflows:
version: 2
my_workflow:
tagged-build:
jobs:
- build:
filters:
filters:
branches:
only: master
ignore: /.*/
tags:
only: /^v.*/
- release:
requires:
- build
filters:
branches:
only: master
ignore: /.*/
tags:
only: /^v.*/
only: /^v.*/

0 comments on commit 0d2068b

Please sign in to comment.