From 49d5d2b1e346dc75c4797236bf272b1836d93076 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:44:42 +0200 Subject: [PATCH] Bump goreleaser/goreleaser-action from 2 to 6 (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump goreleaser/goreleaser-action from 2 to 6 Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 6. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v6) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Adapt goreleaser config --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lorenz Kästle --- .github/workflows/build.yml | 2 +- .goreleaser.yml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0c015b..ae195c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - name: Run goreleaser in release mode if: success() && startsWith(github.ref, 'refs/tags/v') - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --rm-dist diff --git a/.goreleaser.yml b/.goreleaser.yml index 6742bad..d96a484 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ # See documentation at https://goreleaser.com +version: 2 before: hooks: - go mod download @@ -18,11 +19,6 @@ builds: -X main.date={{.CommitDate}} release: github: -archives: - - format: binary - replacements: - linux: Linux - amd64: x86_64 checksum: name_template: 'checksums.txt' snapshot: