Skip to content

Commit

Permalink
update goreleaser yaml with new settings
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Mar 21, 2023
1 parent 1e2e1f3 commit 6e801f5
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ builds:
- -s -w -X github.com/minio/warp/pkg.ReleaseTag={{.Tag}} -X github.com/minio/warp/pkg.CommitID={{.FullCommit}} -X github.com/minio/warp/pkg.Version={{.Version}} -X github.com/minio/warp/pkg.ShortCommitID={{.ShortCommit}} -X github.com/minio/warp/pkg.ReleaseTime={{.Date}}
archives:
-
replacements:
darwin: Darwin
linux: Linux
windows: Windows
freebsd: FreeBSD
amd64: x86_64
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
Expand Down Expand Up @@ -65,11 +65,12 @@ nfpms:
# Basic file that applies to all packagers
- src: systemd/warp.service
dst: /etc/systemd/system/warp.service
replacements:
darwin: Darwin
linux: Linux
freebsd: FreeBSD
amd64: x86_64
file_name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
dockers:
-
# GOOS of the built binary that should be used.
Expand Down

0 comments on commit 6e801f5

Please sign in to comment.