修改ci/cd上传yum错误

This commit is contained in:
付明卫
2020-05-18 17:14:48 +08:00
parent 3c822c7727
commit 2f3fe27e53

View File

@@ -46,10 +46,14 @@ make
if [ -n "${PACKAGE}" ]; then
make package
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 kni*debuginfo*.rpm
#cp /usr/lib/debug/opt/tsg/kni/bin/kni.debug /tmp/kni.debuginfo.${CI_COMMIT_SHORT_SHA}