summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author彭宣正 <[email protected]>2022-03-22 08:23:54 +0000
committer彭宣正 <[email protected]>2022-03-22 08:23:54 +0000
commite8cf4c712829927c6e5c53751d9240717a5233e4 (patch)
tree5e277f9ada3edc20f18f2d8be07ccdf6691cfffb
parent31d1655285b654512fe90de03a6f7730dd5b4fec (diff)
Update travis.sh
-rw-r--r--ci/travis.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index aee68c31..a6ea4f1b 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -53,7 +53,7 @@ if [ -n "${PACKAGE}" ]; then
make package
fi
-if [ -n "${UPLOAD}" ]; then
+if [ -n "${UPLOAD_RPM}" ]; then
cp ~/rpm_upload_tools.py ./
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
fi
@@ -63,4 +63,4 @@ if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
_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 \ No newline at end of file
+fi