deloy.pypi.sh: Pypi upload fail only for error 500
deloy.pypi.sh: Pypi upload fail only for error 500

Added checks for script to fail
gracefully when twine throws error 500

Closes #3644

nemaniarjun/coala,aptrishu/coala,damngamerz/coala,coala-analyzer/coala,ayushin78/coala,netman92/coala,kartikeys98/coala,SanketDG/coala,yashLadha/coala,coala/coala,nemaniarjun/coala,jayvdb/coala,Nosferatul/coala,refeed/coala,karansingh1559/coala,karansingh1559/coala,yashLadha/coala,damngamerz/coala,Asnelchristian/coala,Asnelchristian/coala,ayushin78/coala,kartikeys98/coala,Nosferatul/coala,JohnS-01/coala,aptrishu/coala,arush0311/coala,refeed/coala,jayvdb/coala,netman92/coala,CruiseDevice/coala,coala/coala,RJ722/coala,SanketDG/coala,shreyans800755/coala,aptrishu/coala,karansingh1559/coala,rimacone/testing2,coala/coala,jayvdb/coala,MariosPanag/coala,RJ722/coala,ayushin78/coala,Balaji2198/coala,MariosPanag/coala,Asalle/coala,arush0311/coala,coala-analyzer/coala,RJ722/coala,Balaji2198/coala,yashLadha/coala,shreyans800755/coala,Balaji2198/coala,Nosferatul/coala,shreyans800755/coala,refeed/coala,damngamerz/coala,rimacone/testing2,kartikeys98/coala,Shade5/coala,incorrectusername/coala,arush0311/coala,CruiseDevice/coala,JohnS-01/coala,rimacone/testing2,Asalle/coala,JohnS-01/coala,Asalle/coala,arjunsinghy96/coala,coala-analyzer/coala,Shade5/coala,arjunsinghy96/coala,arjunsinghy96/coala,nemaniarjun/coala,netman92/coala,incorrectusername/coala,Asnelchristian/coala,MariosPanag/coala,incorrectusername/coala,Shade5/coala,CruiseDevice/coala,SanketDG/coala