X Tutup
Skip to content

Commit 5194fa8

Browse files
debugging workflow..
1 parent 4197059 commit 5194fa8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build-mac-sign.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ usage() {
1010
exit 1
1111
}
1212

13+
echo "Default Keychain:"
14+
security find-identity -p codesigning -v | grep -o ".*valid identities found"
15+
if [[ -n "$SIGNING_KEYCHAIN" ]]
16+
echo "Keychain:"
17+
security find-identity -p codesigning -v "$SIGNING_KEYCHAIN" | grep -o ".*valid identities found"
18+
fi
19+
1320
# Parse command-line arguments
1421
while [[ $# -gt 0 ]]; do
1522
case "$1" in
@@ -128,6 +135,7 @@ find "$APP_LOCATION" -type f \( -perm -u+x -o -name "*.dylib" -o -name "*.jar" \
128135

129136
# Sign file
130137
elif [[ -x "$file" ]]; then
138+
echo "Sign x $file"
131139
if [[ -z "$SIGNING_KEYCHAIN" ]]; then
132140
/usr/bin/codesign --force --timestamp \
133141
-vvvv \
@@ -147,6 +155,7 @@ find "$APP_LOCATION" -type f \( -perm -u+x -o -name "*.dylib" -o -name "*.jar" \
147155
"$file"
148156
fi
149157
else
158+
echo "Sign $file"
150159
if [[ -z "$SIGNING_KEYCHAIN" ]]; then
151160
/usr/bin/codesign --force --timestamp \
152161
-vvvv \

0 commit comments

Comments
 (0)
X Tutup