From 0af98a62b6ca6421b748b5debc6d36392df84556 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:20:35 +0200 Subject: [PATCH] deps: update goreleaser/goreleaser-action action to v6 (#620) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/publish_on_master.yml | 4 ++-- .github/workflows/publish_on_tag.yml | 4 ++-- .goreleaser.yml | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_on_master.yml b/.github/workflows/publish_on_master.yml index d69bcef1..9b169f60 100644 --- a/.github/workflows/publish_on_master.yml +++ b/.github/workflows/publish_on_master.yml @@ -36,10 +36,10 @@ jobs: make push PLUGIN_NAME=${{ github.repository_owner }}/hcloud-csi-driver PLUGIN_TAG=latest-swarm-arm64 ARCH=arm64 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest + version: "~> v2" args: release --snapshot --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish_on_tag.yml b/.github/workflows/publish_on_tag.yml index 6d158312..9870a660 100644 --- a/.github/workflows/publish_on_tag.yml +++ b/.github/workflows/publish_on_tag.yml @@ -42,10 +42,10 @@ jobs: make push PLUGIN_NAME=${{ github.repository_owner }}/hcloud-csi-driver PLUGIN_TAG=${{ github.ref_name }}-swarm-arm64 ARCH=arm64 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest + version: "~> v2" args: release --clean env: # https://github.com/goreleaser/goreleaser/blob/3345f8c9c5b287198a29d3db228388148b788c5e/www/docs/customization/builds.md?plain=1#L416-L418 diff --git a/.goreleaser.yml b/.goreleaser.yml index 9ea93ccc..ea63f04f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - ./hack/release-generate-deployment-yamls.sh {{ .Version }}