From 65885572220c93766045377561bfdc25888c7e1b Mon Sep 17 00:00:00 2001 From: Johan Brandhorst Date: Wed, 4 Mar 2020 21:43:35 +0000 Subject: [PATCH] Add gorelease CI step This should help avoid unintentionally breaking changes. --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index bcada21745b..5f20a8d3cde 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -101,6 +114,7 @@ workflows: - generate - lint - bazel + - gorelease - release: filters: branches: