mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-23 00:34:27 +01:00
Why are the binaries ASCII???
This commit is contained in:
parent
a3f62edec5
commit
cb1e69958a
11
.github/workflows/build-and-sign-macos.yml
vendored
11
.github/workflows/build-and-sign-macos.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user