coco-git 它是一个创建、推送git tag自动化脚本。 安装 npm i coco-git -D 使用 在package.json文件scripts添加tag:coco tag。 //... "scripts": { //... "tag":"coco tag" } //... 然后,执行npm run tag命令。