blog icon indicating copy to clipboard operation
blog copied to clipboard

Git使用tag发布release

Open chenshenhai opened this issue 4 years ago • 0 comments

发布步骤如下

打tag版本

git tag -a 0.1.0 -m  "[email protected]"
  • -a 后面加的是 版本号的标签
  • -m 后面加的是 标签的描述/注释

提交标签

git push origin --tags
  • 提交之前标签 tag 到远程 Git 仓库,并且以标签版本号作为 release 版本号

chenshenhai avatar Jul 12 '19 15:07 chenshenhai