Skip to content

Commit c872ff0

Browse files
committed
Update build script to properly create release .zip file
1 parent 79b8414 commit c872ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Markup.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
);
251251
runOnlyForDeploymentPostprocessing = 0;
252252
shellPath = /bin/sh;
253-
shellScript = "case \"$BUILD_STYLE\" in\n*Release*)\nbuild_dir=\"$SYMROOT/$CONFIGURATION\"\nzip=\"$build_dir/$(basename \"$FULL_PRODUCT_NAME\" .\"$WRAPPER_EXTENSION\")-\"$CURRENT_PROJECT_VERSION\".zip\"\ncd \"$build_dir\"\nrm -f \"$zip\"\n/usr/bin/zip -9qry \"$zip\" \"$FULL_PRODUCT_NAME\"\n;;\n*)\nmarkup_debug_plugin=\"$HOME/Library/Containers/com.realmacsoftware.rapidweaver6/Data/Library/Application Support/RapidWeaver/Markup-debug.rapidweaverplugin\"\nrm -rf \"$markup_debug_plugin\"\ncp -Rp \"$SYMROOT/$CONFIGURATION/$FULL_PRODUCT_NAME\" \"$markup_debug_plugin\"\n;;\nesac\n";
253+
shellScript = "case \"$CONFIGURATION\" in\n*Release*)\nzip=\"$BUILT_PRODUCTS_DIR/$(basename \"$FULL_PRODUCT_NAME\" .\"$WRAPPER_EXTENSION\")-\"$CURRENT_PROJECT_VERSION\".zip\"\ncd \"$BUILT_PRODUCTS_DIR\"\nrm -f \"$zip\"\n/usr/bin/zip -9qry \"$zip\" \"$FULL_PRODUCT_NAME\"\n;;\n*)\nmarkup_debug_plugin=\"$HOME/Library/Containers/com.realmacsoftware.rapidweaver6/Data/Library/Application Support/RapidWeaver/Markup-debug.rapidweaverplugin\"\nrm -rf \"$markup_debug_plugin\"\ncp -Rp \"$SYMROOT/$CONFIGURATION/$FULL_PRODUCT_NAME\" \"$markup_debug_plugin\"\n;;\nesac\n";
254254
};
255255
/* End PBXShellScriptBuildPhase section */
256256

0 commit comments

Comments
 (0)