Why are the binaries ASCII???

This commit is contained in:
David Dworken 2022-05-23 08:57:55 -07:00
parent a3f62edec5
commit cb1e69958a

View File

@ -28,6 +28,17 @@ jobs:
echo "Signing the binaries:"
file hishtory-*
sha1sum hishtory-*
if [[ `file hishtory-darwin-arm64` == *"ASCII text"* ]]; then
echo "hishtory-darwin-arm64 is ASCII text???"
cat hishtory-darwin-arm64
exit 1
fi
if [[ `file hishtory-darwin-amd64` == *"ASCII text"* ]]; then
echo "hishtory-darwin-amd64 is ASCII text???"
cat hishtory-darwin-amd64
exit 1
fi
echo $MACOS_CERTIFICATE | base64 -d > certificate.p12
security create-keychain -p $MACOS_CERTIFICATE_PWD build.keychain
security default-keychain -s build.keychain