Skip to content

Commit

Permalink
Fixed goreleaser settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Grigorev committed Nov 22, 2024
1 parent ce3d7a8 commit 4af3ac1
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
project_name: pgscv

before:
hooks:
- make dep
Expand All @@ -9,8 +11,19 @@ builds:
- '386'
- amd64
- arm64
- arm
goos:
- linux
# - windows
# - freebsd
# - darwin
#ignore:
# - goarch: arm
# goos: windows
# - goarch: arm64
# goos: windows
# - goarch: arm64
# goos: freebsd
env:
- CGO_ENABLED=0
ldflags:
Expand Down Expand Up @@ -44,9 +57,9 @@ archives:
group: root
mode: 0644
name_template: >-
{{- .ProjectName }}_
{{- .Binary }}_
{{- .Version }}_
{{- title .Os }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
Expand Down

0 comments on commit 4af3ac1

Please sign in to comment.