diff --git a/.goreleaser.yml b/.goreleaser.yml index a72ee3f..39e775c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -22,21 +22,21 @@ universal_binaries: hooks: post: | zsh -c ' - cat > /tmp/sn-cli-gon-universal.hcl << EOF - source = ["./dist/sn-macos_darwin_all/sn"] - bundle_id = "uk.co.lessknown.sn-cli" - apple_id { - username = "jon@lessknown.co.uk" - password = "@env:AC_PASSWORD" - } - sign { - application_identity = "Developer ID Application: Jonathan Hadfield (VBZY8FBYR5)" - } - zip { - output_path = "./dist/sn-cli_Darwin_all.zip" - } - EOF - gon /tmp/sn-cli-gon-universal.hcl + cat < /tmp/sn-cli-gon-universal.hcl + source = ["./dist/sn-macos_darwin_all/sn"] + bundle_id = "uk.co.lessknown.sn-cli" + apple_id { + username = "jon@lessknown.co.uk" + password = "@env:AC_PASSWORD" + } + sign { + application_identity = "Developer ID Application: Jonathan Hadfield (VBZY8FBYR5)" + } + zip { + output_path = "./dist/sn-cli_Darwin_all.zip" + } +EOF + gon /tmp/sn-cli-gon-universal.hcl ' builds: