File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,23 +38,25 @@ xcodebuild \
3838 CODE_SIGN_IDENTITY=" $CODE_SIGN_IDENTITY " \
3939 OTHER_CODE_SIGN_FLAGS=' --timestamp' | LC_ALL=" en_US.UTF-8" xcpretty
4040
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 "
4244
4345create-dmg \
4446 --identity=" $CODE_SIGN_IDENTITY " \
4547 " $app_path " \
4648 ./
4749
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 "
5052
5153xcrun notarytool store-credentials " notarytool-credentials" \
5254 --apple-id " $APPLE_ID " \
5355 --team-id " $APPLE_TEAM_ID " \
5456 --password " $APPLE_ID_PASSWORD " \
5557 --keychain " $KEYCHAIN_PATH "
5658
57- # xcrun notarytool submit "Coder Desktop.dmg " --keychain-profile "notarytool-credentials" --wait
59+ # xcrun notarytool submit "$dmg_path " --keychain-profile "notarytool-credentials" --wait
5860
59- # xcrun stapler staple "Coder Desktop.dmg "
61+ # xcrun stapler staple "$dmg_path "
6062# xcrun stapler staple "$app_path"
You can’t perform that action at this time.
0 commit comments