Skip to content

Commit

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

Bump goreleaser/goreleaser-action from 5 to 6
  • Loading branch information
martialblog authored Jul 1, 2024
2 parents 460e7de + 4c8f80c commit fd46b8d
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -29,7 +29,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
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 @@ -22,11 +23,12 @@ release:
name: check_cloud_azure
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 fd46b8d

Please sign in to comment.