Browse Source
fix check, if a Username and Password is set.
pull/104/head
Denio
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
0 deletions
-
src/scripts/mkmacdmg.sh
|
|
@ -55,6 +55,16 @@ if [ -z $HUSH_DIR ]; then |
|
|
|
exit 1; |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$APPLE_USERNAME" ]; then |
|
|
|
echo "APPLE_USERNAME is not set. Please set it the name of the MacOS developer login email to submit the binary for Apple for notarization"; |
|
|
|
exit 1; |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$APPLE_PASSWORD" ]; then |
|
|
|
echo "APPLE_PASSWORD is not set. Please set it the name of the MacOS developer Application password to submit the binary for Apple for notarization"; |
|
|
|
exit 1; |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$CERTIFICATE" ]; then |
|
|
|
echo "CERTIFICATE is not set. Please set it the name of the MacOS developer certificate to sign the binary with"; |
|
|
|
exit 1; |
|
|
|