File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,23 +38,25 @@ xcodebuild \
38
38
CODE_SIGN_IDENTITY=" $CODE_SIGN_IDENTITY " \
39
39
OTHER_CODE_SIGN_FLAGS=' --timestamp' | LC_ALL=" en_US.UTF-8" xcpretty
40
40
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 "
42
44
43
45
create-dmg \
44
46
--identity=" $CODE_SIGN_IDENTITY " \
45
47
" $app_path " \
46
48
./
47
49
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 "
50
52
51
53
xcrun notarytool store-credentials " notarytool-credentials" \
52
54
--apple-id " $APPLE_ID " \
53
55
--team-id " $APPLE_TEAM_ID " \
54
56
--password " $APPLE_ID_PASSWORD " \
55
57
--keychain " $KEYCHAIN_PATH "
56
58
57
- # xcrun notarytool submit "Coder Desktop.dmg " --keychain-profile "notarytool-credentials" --wait
59
+ # xcrun notarytool submit "$dmg_path " --keychain-profile "notarytool-credentials" --wait
58
60
59
- # xcrun stapler staple "Coder Desktop.dmg "
61
+ # xcrun stapler staple "$dmg_path "
60
62
# xcrun stapler staple "$app_path"
You can’t perform that action at this time.
0 commit comments