From 58032b21bf3b9df3fa9e039c2c0f81f155034cff Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Wed, 12 Jun 2024 09:44:20 -0700 Subject: [PATCH] ci: upgrade to goreleaser v2 --- .github/workflows/release.yml | 2 ++ .goreleaser.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f44e1c6480d..774ee9f970a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,8 @@ jobs: id: run-goreleaser with: args: ${{ steps.args.outputs.args }} + distribution: goreleaser # or 'goreleaser-pro' + version: "~> v2" # or 'latest', 'nightly', semver env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Generate subject diff --git a/.goreleaser.yml b/.goreleaser.yml index e2d295966d8..668716f814f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 builds: - main: ./protoc-gen-grpc-gateway/main.go id: protoc-gen-grpc-gateway