From 998935e4cad9e9150db32362984cfa2575060914 Mon Sep 17 00:00:00 2001 From: Marc Campbell Date: Wed, 16 Oct 2024 15:16:35 -0700 Subject: [PATCH] Bump goreleaser to a recent version --- .github/workflows/release.yml | 4 ++-- .goreleaser.yml => .goreleaser.yaml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) rename .goreleaser.yml => .goreleaser.yaml (92%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index decc023d9..e2720c3a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,9 +48,9 @@ jobs: DOCKERHUB_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_DOCKER_PASS: ${{ secrets.DOCKERHUB_PASSWORD }} - uses: replicatedhq/action-install-pact@v1 - - run: make can-i-deploy + - run: make can-i-deploy - name: run goreleaser - run: curl -sL https://git.io/goreleaser | VERSION=v1.6.1 bash + run: curl -sL https://git.io/goreleaser | VERSION=v2.3.2 bash env: GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} - run: make record-release diff --git a/.goreleaser.yml b/.goreleaser.yaml similarity index 92% rename from .goreleaser.yml rename to .goreleaser.yaml index e282cd11e..bfe089779 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yaml @@ -1,3 +1,5 @@ +version: 2 + project_name: cli release: github: @@ -6,10 +8,10 @@ release: brews: - homepage: https://docs.replicated.com/reference/replicated-cli-installing description: "Package Replicated applications and manage releases, channels, customers and entitlements using a command-line interface." - tap: + repository: + name: replicatedhq/replicated owner: replicatedhq - name: homebrew-replicated - folder: HomebrewFormula + branch: main install: bin.install "replicated" universal_binaries: - ids: @@ -47,9 +49,7 @@ archives: - changelog* - CHANGELOG* snapshot: - name_template: SNAPSHOT-{{ .Commit }} -build: - hooks: {} + version_template: SNAPSHOT-{{ .Commit }} dockers: - dockerfile: deploy/Dockerfile image_templates: