File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 1919 || check_file " ${DIST} /${PACKAGE} -${VERSION} .tar.gz" ); then
2020 STATUS=1
2121 fi
22+ if ! (check_file " ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} -py3-none-any.whl" \
23+ || check_file " ${DIST} /${PACKAGE} -${VERSION} -py3-none-any.whl" ); then
24+ STATUS=1
25+ fi
2226 done
2327fi
2428
Original file line number Diff line number Diff line change 2222source " ${ROOT} /bin/dist-functions"
2323for PACKAGE in " neo4j-driver" " neo4j" ; do
2424 NORMALIZED_PACKAGE=" $( normalize_dist_name " $PACKAGE " ) "
25+
2526 if check_file " ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} .tar.gz"
2627 then
2728 TWINE_ARGS=" ${TWINE_ARGS} ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} .tar.gz"
@@ -31,18 +32,16 @@ for PACKAGE in "neo4j-driver" "neo4j"; do
3132 echo " Source distribution file for ${PACKAGE} not found"
3233 exit 1
3334 fi
34- done
35-
36- NORMALIZED_PACKAGE=" $( normalize_dist_name " neo4j" ) "
37- if check_file " ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} -py3-none-any.whl"
38- then
39- TWINE_ARGS=" ${TWINE_ARGS} ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} -py3-none-any.whl"
40- elif check_file " ${DIST} /${PACKAGE} -${VERSION} -py3-none-any.whl" ; then
41- TWINE_ARGS=" ${TWINE_ARGS} ${DIST} /${PACKAGE} -${VERSION} -py3-none-any.whl"
42- else
43- echo " Wheel distribution file for ${PACKAGE} not found"
44- exit 1
45- fi
4635
36+ if check_file " ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} -py3-none-any.whl"
37+ then
38+ TWINE_ARGS=" ${TWINE_ARGS} ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} -py3-none-any.whl"
39+ elif check_file " ${DIST} /${PACKAGE} -${VERSION} -py3-none-any.whl" ; then
40+ TWINE_ARGS=" ${TWINE_ARGS} ${DIST} /${PACKAGE} -${VERSION} -py3-none-any.whl"
41+ else
42+ echo " Wheel distribution file for ${PACKAGE} not found"
43+ exit 1
44+ fi
45+ done
4746
4847twine upload ${TWINE_ARGS}
You can’t perform that action at this time.
0 commit comments