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