优化type的设置
publish to github