diff --git a/.goreleaser.yml b/.goreleaser.yml index 85ce0d12..2326b63d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: tart before: @@ -20,7 +22,8 @@ builds: path: '.build/{{- if eq .Arch "arm64" }}arm64{{- else }}x86_64{{ end }}-apple-macosx/release/tart' universal_binaries: - - replace: true + - name_template: tart.app/Contents/MacOS/tart + replace: true hooks: post: gon gon.hcl diff --git a/gon.hcl b/gon.hcl index 083a505c..461d2aa3 100644 --- a/gon.hcl +++ b/gon.hcl @@ -1,4 +1,4 @@ -source = [ "dist/tart_darwin_all/tart" ] +source = [ "dist/tart_darwin_all/tart.app/Contents/MacOS/tart" ] bundle_id = "com.github.cirruslabs.tart" apple_id {