You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package/mac_app_sign_and_package.sh
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -250,11 +250,20 @@ if [[ -e ${DISTRIBUTION}${APP_BUNDLE} ]]
250
250
then
251
251
if [[ -e${DISTRIBUTION}${APP_BUNDLE}/Contents/Info.plist ]]
252
252
then
253
-
echo"Attempting to update bundle's Info.plist to version: \"${VERSION}\""
254
-
sed s_\<string\>0.0.0\<\/string\>_\<string\>${VERSION}\<\/string\>_ ${DISTRIBUTION}${APP_BUNDLE}/Contents/Info.plist >${DISTRIBUTION}${APP_BUNDLE}/Contents/Info2.plist
if sed -i.bak s_\<string\>0.0.0\<\/string\>_\<string\>${VERSION}\<\/string\>_ ${DISTRIBUTION}${APP_BUNDLE}/Contents/Info.plist >${DISTRIBUTION}${APP_BUNDLE}/Contents/Info2.plist
254
+
then
255
+
echo"Set bundle's Info.plist to version: \"${VERSION}\""
256
+
else
257
+
echo"[Error] Could not set bundle's version in Info.plist."
258
+
exit 1
259
+
fi
260
+
else
261
+
echo"[Error] Application bundle does not include an Info.plist file."
262
+
exit 1
257
263
fi
264
+
else
265
+
echo"[Error] Application bundle not found: ${DISTRIBUTION}${APP_BUNDLE}"
0 commit comments