美文网首页
tag 和 release 2021-10-09

tag 和 release 2021-10-09

作者: 9_SooHyun | 来源:发表于2021-10-09 10:46 被阅读0次

把自己的feature代码合进master后,要使用新的feature就需要在当前master上打一个tag,这样才能引用含有feature版本的代码

tag本质上是指向特定commit的一个指针

自己打tag的时候,发现有个可选项“as a release”,于是研究了下两者的区别

A tag is a pointer to a specific commit. This pointer can be super charged with some additional information (identity of the creator of the tag, a description, a GPG signature, ...).

A tag is a git concept whereas a Release is GitHub higher level concept.
tag属于git的概念,而Release是GitHub这些平台层级的更高级的概念

As stated in the official announcement post from the GitHub blog: "Releases are first-class objects with changelogs and binary assets that present a full project history beyond Git artifacts."

A Release is created from an existing tag and exposes release notes and links to download the software or source code from GitHub.

相关文章

网友评论

      本文标题:tag 和 release 2021-10-09

      本文链接:https://www.haomeiwen.com/subject/gbcqoltx.html