Skip to content

Commit

Permalink
goreleaser: add darwin/arm64, use gon for notarizing
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Mar 3, 2021
1 parent 014c819 commit 0329353
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gon.hcl
21 changes: 16 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,34 @@ before:
- go mod download
- go generate ./...
builds:
- id: "stat"
- id: "qrbill"
main: "./cmd/qrbill-api"
binary: "qrbill-api"
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
- 386
ignore:
- goos: darwin
goarch: 386
- id: "qrbill-macos"
main: "./cmd/qrbill-api"
binary: "qrbill-api"
env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
hooks:
post: gon gon.hcl
archives:
- name_template: "qrbill_api_{{ .Os }}_{{ .Arch }}"
builds:
- qrbill
replacements:
darwin: Darwin
linux: Linux
Expand All @@ -44,3 +53,5 @@ release:
github:
owner: stapelberg
name: qrbill
extra_files:
- glob: ./dist/qrbill_api_Darwin_x86_64.dmg

0 comments on commit 0329353

Please sign in to comment.