Skip to content

Commit

Permalink
update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Apr 1, 2024
1 parent 5ae065a commit 0ea5a70
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
- 7
ignore:
- goos: windows
goarch: arm
goarch: arm64
checksum:
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_checksums.txt'
changelog:
Expand All @@ -29,17 +29,19 @@ changelog:
exclude:
- '^docs:'
- '^test:'

archives:
-
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: darwin
linux: linux
386: 386
amd64: amd64
format_overrides:
- goos: windows
format: zip
- id: archives
name_template: >-
{{- .ProjectName }}_
{{.Env.RELEASE_VERSION}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}amd64
{{- else if eq .Arch "386" }}386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
brews:
-
# Name of the recipe
Expand All @@ -48,9 +50,10 @@ brews:

# GitHub/GitLab repository to push the formula to
# Gitea is not supported yet, but the support coming
tap:
repository:
owner: warrensbox
name: homebrew-tap
token: "{{ .Env.PERSONAL_ACCESS_TOKEN }}"

# Reporitory to push the tap to.
# github:
Expand Down

0 comments on commit 0ea5a70

Please sign in to comment.