publish: Merge pull request #51 from chialin/issue_29

generated from commit 7ca92792b206e45a07ac3c52c651b3924ca312a7