From a24e665c13ec51633d54a925916ab2d2062cb00f Mon Sep 17 00:00:00 2001 From: Roberto Dip Date: Wed, 5 Jun 2024 13:35:28 -0300 Subject: [PATCH] Lock goreleaser version in CI to ~> 1 (#19529) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A few days ago, a new major version of goreleaser was published, which is currently breaking our workflows: ``` тип command failed error=unknown flag: --rm-dist ``` This locks the version to a max satisfying semver under 1 until we have time to update to the new major. --- .github/workflows/goreleaser-fleet.yaml | 2 +- .github/workflows/goreleaser-snapshot-fleet.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/goreleaser-fleet.yaml b/.github/workflows/goreleaser-fleet.yaml index 46661da9bd..8de0089b62 100644 --- a/.github/workflows/goreleaser-fleet.yaml +++ b/.github/workflows/goreleaser-fleet.yaml @@ -76,7 +76,7 @@ jobs: uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b with: distribution: goreleaser-pro - version: latest + version: "~> 1" args: release --rm-dist -f .goreleaser.yml env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.github/workflows/goreleaser-snapshot-fleet.yaml b/.github/workflows/goreleaser-snapshot-fleet.yaml index 65ac166c1b..c204e9ff69 100644 --- a/.github/workflows/goreleaser-snapshot-fleet.yaml +++ b/.github/workflows/goreleaser-snapshot-fleet.yaml @@ -72,7 +72,7 @@ jobs: uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b with: distribution: goreleaser-pro - version: latest + version: "~> 1" args: release --snapshot --rm-dist -f .goreleaser-snapshot.yml env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}