Skip to content

Commit

Permalink
Add release pipeline job (#42)
Browse files Browse the repository at this point in the history
* Add release pipeline job

* Fix typo
  • Loading branch information
bradleyjkemp authored Aug 24, 2019
1 parent 58e21bc commit a96d409
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- codecov/upload:
file: unit-coverage.out
flags: "unit"

integration-tests:
docker:
- image: circleci/golang:1.12
Expand All @@ -22,9 +23,25 @@ jobs:
- codecov/upload:
file: integration-coverage.out
flags: "integration"

release:
docker:
- image: circleci/golang:1.12
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash

workflows:
version: 2
build_and_test:
jobs:
- unit-tests
- integration-tests
release:
jobs:
- release:
filters:
branches:
only: master
tags:
only: /^v[0-9]+(\.[0-9]+)*/

0 comments on commit a96d409

Please sign in to comment.