Configure the build to only use credential properties if uploading.
Merge pull request #170 from alkemist/master

Configure the build to only use credential properties if uploading.