Skip to content

Commit

Permalink
go releaser updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin82 committed Feb 26, 2023
1 parent fb3fe63 commit c549c84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# .goreleaser.yml
# Build customization
project_name: mmock
builds:
- main: cmd/mmock/main.go
Expand All @@ -14,13 +12,16 @@ builds:
- arm64
ldflags:
- -X main.VERSION={{.Version}}
ignore:
- goos: linux
goarch: arm
goarm: 7
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: macOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
Expand Down

0 comments on commit c549c84

Please sign in to comment.