GitHub中的Release到底是什么? [英] What exactly is a Release in GitHub?
问题描述
- 到底是什么?
- 它的用途是什么?
- 用法有多广泛?
- 通常如何使用?
推荐答案
发布是 GitHub的打包和向用户提供软件的方式.您可以将其视为使用下载来提供软件的替代.
Releases are GitHub's way of packaging and providing software to your users. You can think of it as a replacement to using downloads to provide software.
使用发布,您可以提供指向二进制文件的链接,以及描述更改的发行说明.
With Releases, you can provide links to binary files, as well as release notes describing your changes.
发布的核心是基于 Git标签.标签标记了项目历史中的特定点,因此它们是指示发布的好方法. 发布按标签日期按以下方式排序:
At their core, Releases are based on Git tags. Tags mark a specific point in the history of your project, so they're a great way to indicate a Release. Releases are ordered by a tag's date in the following way:
- 如果它是带注释的标记,则该标记使用对象的日期.
- 如果它是 lightweight标签,则使用提交对象的日期.
- If it's an annotated tag, the tag object's date is used.
- If it's a lightweight tag, then the commit object's date is used.
有关查看现有标签的更多信息,请参见使用标签
For more information about viewing your existing tags, see Working With Tags.
这篇关于GitHub中的Release到底是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!