GitHub中的Release到底是什么? [英] What exactly is a Release in GitHub?

查看:2119
本文介绍了GitHub中的Release到底是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • 到底是什么?
  • 它的用途是什么?
  • 用法有多广泛?
  • 通常如何使用?

推荐答案

来自官方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:

  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆