Skip to content

Commit 2c5496b

Browse files
committed
retry
1 parent dad5366 commit 2c5496b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

scripts/build.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,25 @@ xcodebuild \
3838
CODE_SIGN_IDENTITY="$CODE_SIGN_IDENTITY" \
3939
OTHER_CODE_SIGN_FLAGS='--timestamp' | LC_ALL="en_US.UTF-8" xcpretty
4040

41-
app_path="$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app")"
41+
mkdir build
42+
app_path="./build/Coder Desktop.app"
43+
ditto "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app")" "$app_path"
4244

4345
create-dmg \
4446
--identity="$CODE_SIGN_IDENTITY" \
4547
"$app_path" \
4648
./
4749

48-
mkdir build
49-
mv ./Coder\ Desktop*.dmg "./build/Coder Desktop.dmg"
50+
dmg_path="./build/Coder Desktop.dmg"
51+
mv ./Coder\ Desktop*.dmg "$dmg_path"
5052

5153
xcrun notarytool store-credentials "notarytool-credentials" \
5254
--apple-id "$APPLE_ID" \
5355
--team-id "$APPLE_TEAM_ID" \
5456
--password "$APPLE_ID_PASSWORD" \
5557
--keychain "$KEYCHAIN_PATH"
5658

57-
# xcrun notarytool submit "Coder Desktop.dmg" --keychain-profile "notarytool-credentials" --wait
59+
# xcrun notarytool submit "$dmg_path" --keychain-profile "notarytool-credentials" --wait
5860

59-
# xcrun stapler staple "Coder Desktop.dmg"
61+
# xcrun stapler staple "$dmg_path"
6062
# xcrun stapler staple "$app_path"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy