Skip to content

Commit

Permalink
Add macOS Silicon build to GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Aug 15, 2022
1 parent aa22fb7 commit 5582eb6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pipedream/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ before:
- go mod download

builds:
- id: "pipedream"
- id: "general"
binary: pipedream
ldflags: -s -w -X main.Version={{ .Version }}
env:
Expand All @@ -17,20 +17,27 @@ builds:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
hooks:
post:
- upx "{{ .Path }}"
- id: "windows arm"
binary: pipedream
ldflags: -s -w -X main.Version={{ .Version }}
goos:
- windows
goarch:
- arm
- id: "darwin"
binary: pipedream
ldflags: -s -w -X main.Version={{ .Version }}
goos:
- darwin
goarch:
- amd64
- arm64
hooks:
post:
- upx "{{ .Path }}"
Expand Down

0 comments on commit 5582eb6

Please sign in to comment.