Skip to content

Commit

Permalink
Add gorelease CI step
Browse files Browse the repository at this point in the history
This should help avoid unintentionally breaking changes.
  • Loading branch information
johanbrandhorst committed Mar 4, 2020
1 parent 8e3580c commit 6588557
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@ jobs:
command: 'bazel run //:buildifier_check ||
(echo "ERROR: Bazel files not formatted, please run \`bazel run :buildifier\`" >&2; exit 1)'
when: always
gorelease:
docker:
- image: jfbrandhorst/grpc-gateway-build-env:1.14
working_directory: /src/grpc-gateway
steps:
- checkout
- run:
name: Install gorelease outside local module
command: |
cd $(mktemp -d) &&
go mod init tmp &&
go get golang.org/x/exp/cmd/gorelease@latest
- run: gorelease
release:
docker:
- image: jfbrandhorst/grpc-gateway-build-env:1.14
Expand All @@ -101,6 +114,7 @@ workflows:
- generate
- lint
- bazel
- gorelease
- release:
filters:
branches:
Expand Down

0 comments on commit 6588557

Please sign in to comment.