From 6e05a5a993a92a095a7b6791847b804df0465814 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Wed, 1 Apr 2026 19:53:45 +0200 Subject: [PATCH] chore(deps): bump goreleaser to v2.15.2 --- .github/workflows/release.yml | 4 ++-- .goreleaser.yaml | 15 ++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2398c97..73cf7cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - uses: goreleaser/goreleaser-action@v7 with: - version: v1.9.2 - args: release --rm-dist + version: v2.15.2 + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 06add8c..406987d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,10 +1,8 @@ -# This is an example .goreleaser.yml file with some sensible defaults. -# Make sure to check the documentation at https://goreleaser.com +version: 2 + before: hooks: - # You may remove this if you don't use go modules. - go mod tidy - # you may remove this if you don't need go generate - go generate ./... builds: - env: @@ -16,16 +14,11 @@ builds: goos: - linux archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - formats: [tar.gz] checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: