File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,20 @@ if [ "${VERSION}" == "" ]
1717then 
1818    echo  " usage: ${SCRIPT}  VERSION" 
1919    exit  1
20- else 
21-     source  " ${ROOT} /bin/dist-functions" 
22-     twine upload ${TWINE_ARGS}  \
23-         " ${DIST} /neo4j-driver-${VERSION} .tar.gz" 
24-         " ${DIST} /neo4j-${VERSION} .tar.gz" 
2520fi 
21+ 
22+ source  " ${ROOT} /bin/dist-functions" 
23+ for  PACKAGE  in  " neo4j-driver" " neo4j" ;  do 
24+     NORMALIZED_PACKAGE=" $( normalize_dist_name " $PACKAGE " ) " 
25+     if  check_file " ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} .tar.gz" 
26+     then 
27+       TWINE_ARGS=" ${TWINE_ARGS}  ${DIST} /${NORMALIZED_PACKAGE} -${VERSION} .tar.gz" 
28+     elif  check_file " ${DIST} /${PACKAGE} -${VERSION} .tar.gz" ;  then 
29+       TWINE_ARGS=" ${TWINE_ARGS}  ${DIST} /${PACKAGE} -${VERSION} .tar.gz" 
30+     else 
31+       echo  " Distribution file for ${PACKAGE}  not found" 
32+       exit  1
33+     fi 
34+ done 
35+ 
36+ twine upload ${TWINE_ARGS} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments