diff options
| author | liuxueli <[email protected]> | 2020-06-17 14:22:40 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-06-17 14:22:40 +0800 |
| commit | a556fb76b98f2b6811891bb7bdf72c9fbaced4a1 (patch) | |
| tree | d1c5513450c1d3f8188e15114d68f741b4367ee6 /ci | |
| parent | da977cb2b563382e63445c4f019e632117bd04b0 (diff) | |
打开tsg_master的调试符号上传至Sentry的开关v1.3.2.20.07
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/travis.sh | 12 |
1 files 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 |
