From 8f88dcb3b3ef0c4dc120e70b9303c60a1e085d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 1 Dec 2023 09:29:20 +0000 Subject: [PATCH] internal/ci: bump Go and GoReleaser for v0.7.0-rc.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I couldn't spot any breaking changes in the goreleaser changelog. It did show a couple of deprecations which were easy to fix; https://goreleaser.com/deprecations/#archivesrlcp is always on now, and https://goreleaser.com/deprecations/#brewstap was renamed. Signed-off-by: Daniel Martí Change-Id: I1273d2062e1fd18fcce8b80d68eea0b302a475ed Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1172985 TryBot-Result: CUEcueckoo Unity-Result: CUE porcuepine Reviewed-by: Paul Jolly --- .github/workflows/release.yml | 4 ++-- internal/ci/goreleaser/goreleaser.cue | 3 +-- internal/ci/repo/repo.cue | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e70cdf522a..829348662b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: uses: actions/setup-go@v4 with: cache: false - go-version: 1.21.0 + go-version: 1.21.4 - name: Setup qemu uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx @@ -83,7 +83,7 @@ jobs: uses: goreleaser/goreleaser-action@v3 with: install-only: true - version: v1.18.2 + version: v1.22.1 - name: Run GoReleaser with CUE run: cue cmd release working-directory: ./internal/ci/goreleaser diff --git a/internal/ci/goreleaser/goreleaser.cue b/internal/ci/goreleaser/goreleaser.cue index ed468e0292d..c464940bf5e 100644 --- a/internal/ci/goreleaser/goreleaser.cue +++ b/internal/ci/goreleaser/goreleaser.cue @@ -29,7 +29,6 @@ config: { ] }] archives: [{ - rlcp: true name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" files: [ "LICENSE", @@ -59,7 +58,7 @@ config: { if !#latest { skip_upload: true } - tap: { + repository: { owner: "cue-lang" name: "homebrew-tap" } diff --git a/internal/ci/repo/repo.cue b/internal/ci/repo/repo.cue index 149740a43b2..eda7882a3da 100644 --- a/internal/ci/repo/repo.cue +++ b/internal/ci/repo/repo.cue @@ -37,9 +37,9 @@ latestStableGo: "1.21.x" // Use a specific latest version for release builds. // Note that we don't want ".x" for the sake of reproducibility, // so we instead pin a specific Go release. -pinnedReleaseGo: "1.21.0" +pinnedReleaseGo: "1.21.4" -goreleaserVersion: "v1.18.2" +goreleaserVersion: "v1.22.1" // zeroReleaseTagSuffix is the suffix used to identify all "zero" releases. // When we create a release branch for v0.$X.0, it's likely that commits on the