Skip to content

Commit

Permalink
Clean up symbol upload script logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tustanivsky committed Oct 7, 2024
1 parent 9e57f86 commit 4869c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions plugin-dev/Scripts/upload-debug-symbols-win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ if "%TargetPlatform%"=="Win64" (
)

call :ParseIniFile "%ConfigPath%\DefaultEngine.ini" /Script/Sentry.SentrySettings UploadSymbolsAutomatically UploadSymbols
echo Sentry: Automatic symbols upload is '%UploadSymbols%' from plugin settings

if /i "%SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY%" NEQ "" (
set UploadSymbols=%SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY%
echo Sentry: Automatic symbols upload is overridden as '%SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY%' from environment variable SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY
echo Sentry: Automatic symbols upload settings were overridden via environment variable SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY with value '%SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY%'
)

if /i "%UploadSymbols%" NEQ "True" (
Expand Down
3 changes: 1 addition & 2 deletions plugin-dev/Scripts/upload-debug-symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ else
fi

UPLOAD_SYMBOLS=$(awk -F "=" '/UploadSymbolsAutomatically/ {print $2}' "${CONFIG_PATH}/DefaultEngine.ini")
echo "Sentry: Automatic symbols upload is '$UPLOAD_SYMBOLS' from plugin settings"

if [ ! -z $SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY ]; then
UPLOAD_SYMBOLS=$SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY
echo "Sentry: Automatic symbols upload is overridden as '$SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY' from environment variable SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY"
echo "Sentry: Automatic symbols upload settings were overridden via environment variable SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY with value '$SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY'"
fi

if [ -z $UPLOAD_SYMBOLS ]; then
Expand Down

0 comments on commit 4869c3e

Please sign in to comment.