summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorluqiuwen <[email protected]>2019-09-20 11:47:33 +0800
committerluqiuwen <[email protected]>2019-09-20 11:47:33 +0800
commitff66f91446c163b7afd8865aa735e562ef9330ad (patch)
tree1d895d33f17f77ec8cd883275cd4b2102965cb0e /ci
parentb11e30abd86d80d8ed5f1486259d5b401ff5654f (diff)
#159 修改CI脚本,收集RPM打包后生成的调试符号。
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 1aeae35..c682bfc 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -51,5 +51,7 @@ if [ -n "${PACKAGE}" ]; then
fi
if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
- sentry-cli upload-dif -t elf platform/tfe*
+ rpm -i tfe*debuginfo*.rpm
+ cp /usr/lib/debug/opt/tsg/tfe/bin/tfe.debug /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
+ sentry-cli upload-dif -t elf /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
fi