Fixes the upload script to purge the CDN correctly and display success output. (#466) (#497)

(cherry picked from commit e544b40faa5ab61b6aba691577d90b2b641f664d)
1 file changed