summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
author“pengxuanzheng” <[email protected]>2022-02-28 06:29:26 +0000
committer“pengxuanzheng” <[email protected]>2022-02-28 08:51:08 +0000
commita129c9019c3f922e523efea78a2406051aa41cb1 (patch)
tree7cbe86e2fb6ecde122af109445c77590a397f90f /ci
parentea9955755ff9e35f5acfdeefee20ea87d4d9a31d (diff)
🔧 build(TSG-9686): 适配 rocky linux 8.5v1.0.9
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 147803f..abbc30d 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -58,7 +58,8 @@ if [ -n "${UPLOAD}" ]; then
fi
if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
- 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}
+ rpm -i $SYMBOL_TARGE*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