Skip to content

Commit

Permalink
Add release phase to circle ci
Browse files Browse the repository at this point in the history
  • Loading branch information
stein committed Jun 19, 2018
1 parent 4b53236 commit 931fd14
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,40 @@ jobs:

- store_test_results:
path: /tmp/test-results

release:
docker:
- image: circleci/golang:1.10.3
working_directory: /go/src/github.com/steinfletcher/github-org-clone

steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash

workflows:
version: 2

build_and_test:
jobs:
- build:
branches:
only: master
tags:
ignore: /.*/

release:
jobs:
- build:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- release:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
requires:
- build

0 comments on commit 931fd14

Please sign in to comment.