Skip to content

Commit

Permalink
updated goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin82 committed Feb 25, 2021
1 parent 9f01567 commit e365c2e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# .goreleaser.yml
# Build customization
project_name: mmock
builds:
- main: cmd/mmock/main.go
binary: mmock
Expand All @@ -11,15 +12,17 @@ builds:
- amd64
ldflags:
- -X main.VERSION={{.Version}}
archive:
format: tar.gz
replacements:
amd64: 64-bit
darwin: macOS
files:
- README.md
- config/*
- tls/*
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
format: zip
dockers:
-
dockerfile: Dockerfile
Expand Down

0 comments on commit e365c2e

Please sign in to comment.