Skip to content

Commit

Permalink
Merge pull request #6 from CheckPointSW/goreleaser-fix
Browse files Browse the repository at this point in the history
update goreleaser yaml and workflow for v2
  • Loading branch information
chkp-omris authored Jul 22, 2024
2 parents d7e1fab + 3b0ebdd commit 0c52011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 2 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
version: 2
project_name: 'inext'
before:
hooks:
Expand Down Expand Up @@ -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
disable: true

0 comments on commit 0c52011

Please sign in to comment.