Skip to content

Commit

Permalink
Merge pull request #52 from NETWAYS/dependabot/github_actions/gorelea…
Browse files Browse the repository at this point in the history
…ser/goreleaser-action-6

build(deps): bump goreleaser/goreleaser-action from 5 to 6
  • Loading branch information
martialblog authored Jul 1, 2024
2 parents 201be5c + c6a3b8d commit 2389207
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Run goreleaser in release mode
if: success() && startsWith(github.ref, 'refs/tags/v')
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.*.sw[opa]
*~
/build/
/dist/
check_sophos_central
.env*
*.out
Expand Down
12 changes: 7 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# See documentation at https://goreleaser.com
version: 2
before:
hooks:
- go mod download
Expand All @@ -23,11 +24,12 @@ release:
name: check_sophos_central
archives:
- format: binary
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
name_template: >-
{{ .ProjectName }}_{{ .Tag }}_
{{- if eq .Os "linux" }}Linux{{ end }}
{{- if eq .Os "windows" }}Windows{{ end }}
{{- if eq .Os "darwin" }}Darwin{{ end }}
{{- if eq .Arch "amd64" }}_x86_64{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 2389207

Please sign in to comment.