This has proven useful for customer-demo-apps, where we include a download button for the application as part of the application. It should be disabled by default but would be useful to include as a flag. Logic would be something like:
log-info "Generating zip file"
cd $APPS_DIR && zip -qr "${APP}/assets/${APP}" $APP && cd -
log-info "Zip file generated"
In scripts/deploy.sh.