publish: Merge pull request #67 from chialin/issue_37

generated from commit a0348b0c109af9575f1e9785e74459670f186879