File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,20 @@ xcodebuild \
3939 OTHER_CODE_SIGN_FLAGS=' --timestamp' | LC_ALL=" en_US.UTF-8" xcpretty
4040
4141mkdir 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
4553create-dmg \
4654 --identity=" $CODE_SIGN_IDENTITY " \
47- " $app_path " \
55+ " $built_app_path " \
4856 ./
4957
5058dmg_path=" ./build/Coder Desktop.dmg"
You can’t perform that action at this time.
0 commit comments