summaryrefslogtreecommitdiff
path: root/ci/travis.sh
diff options
context:
space:
mode:
author杨威 <[email protected]>2023-06-21 18:23:40 +0800
committer杨威 <[email protected]>2023-06-21 21:57:44 +0800
commit77f3d3ab64c86e36fb87d0a502057f8c9abf045b (patch)
tree17034f50810c8ee624edc7fa2415d28c25d1fdb3 /ci/travis.sh
parent21f2fd5be8f5cc760174ce210a21ffe9e36778ec (diff)
🐎 ci(envelope_rpm_for_centos8):v4.3.10
Diffstat (limited to 'ci/travis.sh')
-rw-r--r--ci/travis.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 8588ab3..509f63d 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -74,7 +74,11 @@ fi
if [ -n "${UPLOAD}" ]; then
cp ~/rpm_upload_tools.py ./
- python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
+ if [ -n "${HASP_ENABLED}" ]; then
+ python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *-pr-*.rpm
+ else
+ python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
+ fi
fi
#if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then