mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
use correct no-download-badge (flutter/engine#7735)
This commit is contained in:
parent
597f3a5adc
commit
021996ff8d
@ -24,6 +24,15 @@ if [[ -n "${GEM_HOME}" ]]
|
||||
PATH="${GEM_HOME}/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Jazzy 0.8.x, used on chrome infra, expects --no-download-badge
|
||||
# Jazzy 0.9.x, used on LUCI, doesn't support that flag.
|
||||
noDownloadBadge=""
|
||||
if [[ -z "$LUCI_CONTEXT" ]]
|
||||
then
|
||||
noDownloadBadge="--no-download-badge"
|
||||
fi
|
||||
|
||||
|
||||
# Use iPhoneSimulator SDK
|
||||
# See: https://github.com/realm/jazzy/issues/791
|
||||
jazzy \
|
||||
@ -39,4 +48,4 @@ jazzy \
|
||||
--module Flutter\
|
||||
--root-url https://docs.flutter.io/objc/\
|
||||
--output "$1"\
|
||||
--no-download-badge
|
||||
$noDownloadBadge
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user