Skip to content

Commit

Permalink
Revered goreleaser changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin82 committed Mar 2, 2023
1 parent 5536d2a commit 6327612
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# .goreleaser.yml
# Build customization
project_name: mmock
builds:
- main: cmd/mmock/main.go
Expand All @@ -8,30 +10,22 @@ builds:
- linux
goarch:
- amd64
- arm
- arm64
ldflags:
- -X main.VERSION={{.Version}}
ignore:
- goos: linux
goarch: arm
goarm: 7
- goos: windows
goarch: arm64
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
goarch: amd64
skip_push: false
image_templates:
- "jordimartin/mmock:{{.Tag}}"
Expand Down

0 comments on commit 6327612

Please sign in to comment.