Close #14
Merge pull request #15 from spark/bugfix/no-publish-while-updating

Close #14