Skip to content

Commit

Permalink
fix gorelease post script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Dec 7, 2023
1 parent d20e5b3 commit 1eaa5a4
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"
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 <<EOF > /tmp/sn-cli-gon-universal.hcl
source = ["./dist/sn-macos_darwin_all/sn"]
bundle_id = "uk.co.lessknown.sn-cli"
apple_id {
username = "[email protected]"
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:
Expand Down

0 comments on commit 1eaa5a4

Please sign in to comment.