publish: Merge pull request #47 from chialin/issue_44

generated from commit 0965da41445896a5dbccf5af86a475f7996f98aa