Skip to content

Commit

Permalink
macOS Universal Binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
dotzero committed Nov 30, 2021
1 parent de6c945 commit a991be1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ builds:
ldflags: -s -w -X main.Version={{.Version}} -X main.CommitHash={{.Commit}} -X main.CompileDate={{.Date}}
main: .

universal_binaries:
- replace: true

checksum: { name_template: checksums.txt }

release:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ clean:
lint:
golangci-lint run

.PHONY: build install test clean lint
dist-check:
goreleaser --snapshot --skip-publish --rm-dist

.PHONY: build install test clean lint dist-check

0 comments on commit a991be1

Please sign in to comment.