mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
MacQetDeploy_arm64.sh script add staple to the app
This commit is contained in:
parent
a7590558b9
commit
31b648c2a0
@ -224,12 +224,18 @@ echo "Create zip tarball:"
|
|||||||
/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip"
|
/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip"
|
||||||
|
|
||||||
### notarize zip tarball ###############################################
|
### notarize zip tarball ###############################################
|
||||||
|
echo -e "\033[1;31mWould you like to upload for Notarize packages "${APPNAME}"-"$VERSION"-"r$HEAD-arm64.zip", n/Y?.\033[m"
|
||||||
|
read a
|
||||||
|
if [[ $a == "Y" || $a == "y" ]]; then
|
||||||
echo
|
echo
|
||||||
echo "______________________________________________________________"
|
echo "______________________________________________________________"
|
||||||
echo "Notarize zip tarball:"
|
echo "Notarize zip tarball:"
|
||||||
|
|
||||||
xcrun notarytool submit build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip --keychain-profile "org.qelectrotech" --wait
|
xcrun notarytool submit build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip --keychain-profile "org.qelectrotech" --wait
|
||||||
|
else
|
||||||
|
echo -e "\033[1;33mExit.\033[m"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
### The end, process is done ##########################################
|
### The end, process is done ##########################################
|
||||||
|
|
||||||
@ -259,6 +265,31 @@ echo The disque image is in the folder \'build-aux/mac-osx\'.
|
|||||||
# echo
|
# echo
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
|
# Clean up disk folder
|
||||||
|
echo 'Cleaning up... '
|
||||||
|
rm "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip"
|
||||||
|
|
||||||
|
# staple the app
|
||||||
|
echo -e "\033[1;31mWould you like to staple the app MacOS packages "${APPNAME}"-"$VERSION"-"r$HEAD", n/Y?.\033[m"
|
||||||
|
read a
|
||||||
|
if [[ $a == "Y" || $a == "y" ]]; then
|
||||||
|
xcrun stapler staple -v $BUNDLE
|
||||||
|
else
|
||||||
|
echo -e "\033[1;33mExit.\033[m"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "______________________________________________________________"
|
||||||
|
echo "Re Create zip tarball:"
|
||||||
|
|
||||||
|
/usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip"
|
||||||
|
|
||||||
|
|
||||||
|
# Clean up disk folder
|
||||||
|
echo 'Cleaning up... '
|
||||||
|
rm -rf $BUNDLE
|
||||||
|
|
||||||
|
|
||||||
#rsync to TF DMG builds
|
#rsync to TF DMG builds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user