一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
40 行
711 B
Bash
可执行文件
40 行
711 B
Bash
可执行文件
#!/bin/bash
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
update_plugin() {
|
|
echo "Updating $1..."
|
|
cd "$SCRIPT_DIR/$1" && yo joplin --update --skip-install --silent
|
|
echo "Done."
|
|
}
|
|
|
|
update_plugin jpl_test
|
|
sed -i /*.jpl/d .gitignore
|
|
|
|
PLUGINS_TO_UPDATE=(
|
|
"clipboard"
|
|
"codemirror6"
|
|
"codemirror_content_script"
|
|
"content_script"
|
|
"dialog"
|
|
"editor_context_menu"
|
|
"events"
|
|
"external_assets"
|
|
"imaging"
|
|
"json_export"
|
|
"load_css"
|
|
"menu"
|
|
"multi_selection"
|
|
"nativeModule"
|
|
"note_list_renderer"
|
|
"post_messages"
|
|
"register_command"
|
|
"selected_text"
|
|
"settings"
|
|
"toc"
|
|
"user_data"
|
|
"withExternalModules"
|
|
)
|
|
|
|
for PLUGIN in ${PLUGINS_TO_UPDATE[@]}; do
|
|
update_plugin "$PLUGIN"
|
|
done |