This script only uploads to Amazon S3 when the build is on master, not a pull-request and in the oaeproject/Hilary repository. This ensures we don't have alternative branches pushing odd releases into Amazon S3