Skip to content

Commit

Permalink
Fix circleci releases (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
landrito authored Oct 19, 2018
1 parent 113c841 commit 0a50347
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,30 @@ workflows:
version: 2
main:
jobs:
- build
- kotlin-smoke-test
- protobufjs-load-test
- release:
- build:
filters: &all_commits
tags:
only: /.*/
- kotlin-smoke-test:
filters: *all_commits
- protobufjs-load-test:
filters: *all_commits
- github_release:
requires:
- build
- kotlin-smoke-test
- protobufjs-load-test
filters:
filters: &releases
branches:
ignore: /.*/
tags:
only: '/^v\d+(\.\d+)*$/'
only: '/^v[\d.]+$/'
- push-image:
requires:
- build
- kotlin-smoke-test
- protobufjs-load-test
filters:
branches:
ignore: /.*/
tags:
only: '/^v\d+(\.\d+)*$/'
filters: *releases

jobs:
build:
Expand Down Expand Up @@ -107,7 +108,7 @@ jobs:
node -e "require('google-proto-files').loadSync('schema/echo.proto');"
node -e "require('google-proto-files').loadSync('schema/testing.proto');"
release:
github_release:
docker:
- image: golang:1.11
environment:
Expand Down

0 comments on commit 0a50347

Please sign in to comment.