Skip to content

Commit 2666c11

Browse files
committed
retry
1 parent ecae9c0 commit 2666c11

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scripts/build.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ mkdir build
4444
built_app_path="./Coder Desktop.app"
4545
ditto "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app")" "$built_app_path"
4646

47-
# Add dsym to build artifacts
48-
dsym_zipped_path="./build/coder-desktop-universal-dsym.zip"
49-
zip -9 -r --symlinks "$dsym_zipped_path" "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app.dSYM")"
50-
51-
# Add zipped app to build artifacts
52-
app_zipped_path="./build/coder-desktop-universal.zip"
53-
zip -9 -r --symlinks "$app_zipped_path" "$built_app_path"
54-
5547
create-dmg \
5648
--identity="$CODE_SIGN_IDENTITY" \
5749
"$built_app_path" \
@@ -75,4 +67,12 @@ xcrun notarytool submit "$dmg_path" \
7567

7668
# Staple the notarization to the app and dmg, so they work without internet
7769
xcrun stapler staple "$dmg_path"
78-
xcrun stapler staple "$app_path"
70+
xcrun stapler staple "$built_app_path"
71+
72+
# Add dsym to build artifacts
73+
dsym_zipped_path="./build/coder-desktop-universal-dsym.zip"
74+
zip -9 -r --symlinks "$dsym_zipped_path" "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app.dSYM")"
75+
76+
# Add zipped app to build artifacts
77+
app_zipped_path="./build/coder-desktop-universal.zip"
78+
zip -9 -r --symlinks "$app_zipped_path" "$built_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