From a556fb76b98f2b6811891bb7bdf72c9fbaced4a1 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Wed, 17 Jun 2020 14:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80tsg=5Fmaster=E7=9A=84?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E7=AC=A6=E5=8F=B7=E4=B8=8A=E4=BC=A0=E8=87=B3?= =?UTF-8?q?Sentry=E7=9A=84=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci/travis.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ci/travis.sh b/ci/travis.sh index 270d91c..c5ceb6f 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -55,11 +55,9 @@ fi if [ -n "${UPLOAD}" ]; then cp ~/rpm_upload_tools.py ./ python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm -fi - -if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then - rpm -i $SYMBOL_TARGET*debuginfo*.rpm - _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"` - cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} - sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} + + rpm -i $SYMBOL_TARGET*debuginfo*.rpm + _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"` + cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} + sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} fi