tangled
alpha
login
or
join now
jaspermayone.com
/
ZipMerge
0
fork
atom
Simple App to help @jaspermayone make it through COMP1050 with a professor who won't use version control.
0
fork
atom
overview
issues
pulls
pipelines
Fix release script to work with automatic signing
jaspermayone.com
1 month ago
46b05b61
e61c5a60
+13
-1
1 changed file
expand all
collapse all
unified
split
release.sh
+13
-1
release.sh
···
64
64
-scheme ZipMerge \
65
65
-configuration Release \
66
66
-derivedDataPath ./build \
67
67
-
CODE_SIGN_IDENTITY="Developer ID Application" \
68
67
clean build
69
68
70
69
if [ $? -ne 0 ]; then
···
73
72
fi
74
73
75
74
APP_PATH="./build/Build/Products/Release/ZipMerge.app"
75
75
+
76
76
+
# Re-sign with Developer ID for distribution
77
77
+
echo -e "${GREEN}🔏 Signing with Developer ID...${NC}"
78
78
+
codesign --force --deep --sign "Developer ID Application" \
79
79
+
--options runtime \
80
80
+
--timestamp \
81
81
+
"$APP_PATH"
82
82
+
83
83
+
if [ $? -ne 0 ]; then
84
84
+
echo -e "${RED}Code signing failed!${NC}"
85
85
+
echo "Make sure you have a valid Developer ID Application certificate."
86
86
+
exit 1
87
87
+
fi
76
88
77
89
# Verify code signing
78
90
echo -e "${GREEN}✅ Verifying code signature...${NC}"