Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git使用tag发布release #36

Open
chenshenhai opened this issue Jul 12, 2019 · 0 comments
Open

Git使用tag发布release #36

chenshenhai opened this issue Jul 12, 2019 · 0 comments
Labels

Comments

@chenshenhai
Copy link
Owner

发布步骤如下

打tag版本

git tag -a 0.1.0 -m  "version@0.1.0"
  • -a 后面加的是 版本号的标签
  • -m 后面加的是 标签的描述/注释

提交标签

git push origin --tags
  • 提交之前标签 tag 到远程 Git 仓库,并且以标签版本号作为 release 版本号
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant