Skip to content

Commit cb26fde

Browse files
committed
retry
1 parent 2c5496b commit cb26fde

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

scripts/build.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,20 @@ xcodebuild \
3939
OTHER_CODE_SIGN_FLAGS='--timestamp' | LC_ALL="en_US.UTF-8" xcpretty
4040

4141
mkdir build
42-
app_path="./build/Coder Desktop.app"
43-
ditto "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app")" "$app_path"
42+
built_app_path="./Coder Desktop.app"
43+
ditto "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app")" "$built_app_path"
44+
45+
# Add dsym to build artifacts
46+
dsym_zipped_path="./build/coder-desktop-universal-dsym.zip"
47+
zip -9 -r --symlinks "$dsym_zipped_path" "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app.dSYM")"
48+
49+
# Add zipped app to build artifacts
50+
app_zipped_path="./build/coder-desktop-universal.zip"
51+
zip -9 -r --symlinks "$app_zipped_path" "$built_app_path"
4452

4553
create-dmg \
4654
--identity="$CODE_SIGN_IDENTITY" \
47-
"$app_path" \
55+
"$built_app_path" \
4856
./
4957

5058
dmg_path="./build/Coder Desktop.dmg"

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