File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,6 @@ mkdir build
44
44
built_app_path=" ./Coder Desktop.app"
45
45
ditto " $( find " $HOME /Library/Developer/Xcode/DerivedData" -name " Coder Desktop.app" ) " " $built_app_path "
46
46
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
-
55
47
create-dmg \
56
48
--identity=" $CODE_SIGN_IDENTITY " \
57
49
" $built_app_path " \
@@ -75,4 +67,12 @@ xcrun notarytool submit "$dmg_path" \
75
67
76
68
# Staple the notarization to the app and dmg, so they work without internet
77
69
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 "
You can’t perform that action at this time.
0 commit comments