refactor(developer): use shared upload_help function

Build-bot: build developer
Test-bot: skip
This commit is contained in:
Eberhard Beilharz 2025-06-24 18:48:02 +02:00
parent aec28e5855
commit bc5e05fd84
No known key found for this signature in database
GPG key ID: E9140597606020D3

View file

@ -19,7 +19,7 @@ THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
################################ Main script ################################
builder_describe \
"Build Keyman Developer on Windows" \
"Build release of Keyman Developer" \
"all run all actions" \
"build build Keyman Developer and test keyboards" \
"publish publish release of Keyman Developer" \
@ -70,16 +70,6 @@ function _publish_to_downloads_keyman_com() {
builder_echo end "publish to downloads.keyman.com" success "Finished publishing release to downloads.keyman.com"
}
function _publish_api_documentation() {
# Upload new Keyman Developer API documentation to help.keyman.com
builder_echo start "publish api documentation" "Uploading new Keyman Developer API documentation to help.keyman.com"
export HELP_KEYMAN_COM="${HELP_KEYMAN_COM:-${KEYMAN_ROOT}/../help.keyman.com}"
"${KEYMAN_ROOT}/resources/build/help-keyman-com.sh" developer
builder_echo end "publish api documentation" success "Finished uploading new Keyman Developer API documentation to help.keyman.com"
}
function build_developer_action() {
_build_developer
_build_testkeyboards
@ -101,7 +91,7 @@ function publish_action() {
download_symbol_server_index
publish_new_symbols
_publish_to_downloads_keyman_com
_publish_api_documentation
upload_help "api documentation" developer
}
if builder_has_action all; then