Skip to content

Commit

Permalink
ci: Testing GoReleaser configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Apr 30, 2024
1 parent d6460fb commit c47a43a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ release:

# https://goreleaser.com/customization/changelog/
changelog:
skip: false
disable: false
use: github-native

# https://goreleaser.com/customization/source/
Expand All @@ -131,8 +131,8 @@ archives:
files:
- none*
name_template:
'{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}32v{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64
}}{{ end }}'
'{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}32v{{ . }}{{ end }}{{ if not (eq .Amd64
"v1") }}{{ .Amd64 }}{{ end }}'

- id: 'windows-archive'
builds:
Expand All @@ -143,8 +143,8 @@ archives:
files:
- none*
name_template:
'{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}32v{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64
}}{{ end }}'
'{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}32v{{ . }}{{ end }}{{ if not (eq .Amd64
"v1") }}{{ .Amd64 }}{{ end }}'

- id: 'macos-archive'
builds:
Expand All @@ -154,7 +154,7 @@ archives:
format: zip
files:
- none*
name_template: '{{ .ProjectName }}-{{ .Os }}-universal'
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-universal'

# https://goreleaser.com/customization/nfpm/
nfpms:
Expand Down Expand Up @@ -257,5 +257,3 @@ brews:
branch: main
token: '{{ .Env.GH_PUBLIC_TOKEN }}'
# token_type: 'github'
git:
url: 'https://{{ .Env.GH_PUBLIC_TOKEN }}@github.com/northwood-labs/homebrew-tap.git'

0 comments on commit c47a43a

Please sign in to comment.