From 3b0ebddaf795e81661338c4791252ac57fb3880f Mon Sep 17 00:00:00 2001 From: chkp-omris Date: Mon, 22 Jul 2024 13:11:03 +0000 Subject: [PATCH] update goreleaser yaml and workflow for v2 --- .github/workflows/release.yml | 4 ++-- .goreleaser.yml | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ffb755..acd648a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,9 +17,9 @@ jobs: go-version: 1.18 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.9.1 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: "~> v2" args: release --clean env: # GitHub sets this automatically diff --git a/.goreleaser.yml b/.goreleaser.yml index 909f42c..aca9872 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. +version: 2 project_name: 'inext' before: hooks: @@ -40,17 +41,8 @@ archives: checksum: name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' algorithm: sha256 -nfpms: -- builds: - - inext - file_name_template: 'inext_{{ .Version }}_{{ .Os }}_{{ .Arch }}' - package_name: 'inext' - formats: - - apk - - deb - - rpm release: # If you want to manually examine the release before its live, uncomment this line: draft: true changelog: - skip: true \ No newline at end of file + disable: true \ No newline at end of file