From a69d884e2bc10ac0035cca0ea0f305c7ce7a4a70 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 5 Oct 2024 20:54:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20goreleaser=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/integration.yml | 6 +++--- .goreleaser.yml | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index e127032..a5cac5a 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -45,10 +45,10 @@ jobs: cache: true - name: Build Releases - uses: goreleaser/goreleaser-action@v5.1.0 + uses: goreleaser/goreleaser-action@v6.0.0 with: - version: latest - args: release --rm-dist --snapshot --skip-publish + version: "~> v2" + args: release --clean --snapshot env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 9541752..3b9daf1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod tidy @@ -27,6 +29,6 @@ dockers: checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" changelog: - skip: true + disable: true