-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update circle config to 2.0; similar to aws-okta
- Loading branch information
1 parent
e743d3b
commit 07d0605
Showing
2 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/golang:1.10 | ||
working_directory: /go/src/github.com/segmentio/chamber | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build | ||
command: | | ||
make govendor dist | ||
- persist_to_workspace: | ||
root: . | ||
paths: ['dist/*'] | ||
|
||
release: | ||
docker: | ||
- image: circleci/golang:1.10 | ||
working_directory: /go/src/github.com/segmentio/chamber | ||
steps: | ||
- checkout | ||
- attach_workspace: { at: . } | ||
- run: | ||
name: Release | ||
command: | | ||
make release | ||
workflows: | ||
version: 2 | ||
build-release: | ||
jobs: | ||
- build | ||
- release: | ||
requires: | ||
- build | ||
filters: | ||
# release on branch push event | ||
branches: | ||
ignore: /.*/ | ||
# release only on tag push events like vX[.Y.Z...] | ||
tags: | ||
only: /v[0-9]+(\.[0-9]+)*/ |
This file was deleted.
Oops, something went wrong.