[deploy] fix so it properly can deploy to sonatype
Merge pull request #104 from spotify/drewc/fix-releases

[deploy] fix so it properly can deploy to sonatype