mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
change(ios): better UPLOAD_SENTRY default implementation
This commit is contained in:
parent
aaccc64f63
commit
2cc013bd33
1 changed files with 4 additions and 17 deletions
|
|
@ -142,29 +142,16 @@ function printVersionUtilsDebug() {
|
|||
}
|
||||
|
||||
function findShouldSentryRelease() {
|
||||
# Default, in case $VERSION_ENVIRONMENT is improperly specified.
|
||||
# Default, for 'test' or 'local' environment, or in case $VERSION_ENVIRONMENT is improperly specified.
|
||||
# (May be overridden by -upload-sentry in supporting build scripts.)
|
||||
UPLOAD_SENTRY=false
|
||||
|
||||
# Dynamically configure whether or not to upload Sentry symbols.
|
||||
# Default: override to `true` for release builds.
|
||||
case $VERSION_ENVIRONMENT in
|
||||
# Actual release tiers
|
||||
alpha)
|
||||
alpha | beta | stable)
|
||||
UPLOAD_SENTRY=true
|
||||
;;
|
||||
beta)
|
||||
UPLOAD_SENTRY=true
|
||||
;;
|
||||
stable)
|
||||
UPLOAD_SENTRY=true
|
||||
;;
|
||||
|
||||
# Development builds; do not release (by default).
|
||||
local)
|
||||
UPLOAD_SENTRY=false
|
||||
;;
|
||||
test)
|
||||
UPLOAD_SENTRY=false
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue