diff --git a/.gitignore b/.gitignore index f4277e5..dc081a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -gon.hcl +gon_*.hcl +dist diff --git a/.goreleaser.yml b/.goreleaser.yml index 4ff8917..13ca43c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,9 +26,10 @@ builds: goos: - darwin goarch: + - arm64 - amd64 hooks: - post: gon gon.hcl + post: "gon gon_{{ .Target }}.hcl" archives: - name_template: "qrbill_api_{{ .Os }}_{{ .Arch }}" builds: @@ -54,4 +55,4 @@ release: owner: stapelberg name: qrbill extra_files: - - glob: ./dist/qrbill_api_Darwin_x86_64.dmg + - glob: ./dist/qrbill_api_Darwin_*.dmg diff --git a/go.sum b/go.sum index 3b63c55..b2eb504 100644 --- a/go.sum +++ b/go.sum @@ -12,6 +12,7 @@ golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c h1:UIcGWL6/wpCfyGuJnRFJRurA+ golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e h1:FDhOuMEY4JVRztM/gsbk+IKUQ8kj74bxZrgw87eMMVc= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=