support `npm publish --tag beta`. fix #366

rt