Add autopublishing.
Merge pull request #295 from apenney/autopublish

Add autopublishing.