add
parent
7914d308f6
commit
f6382695b6
@ -0,0 +1,59 @@
|
||||
Creating Releases 创建发布包
|
||||
===========
|
||||
|
||||
发布包是让用户接触项目不错的方式:
|
||||
|
||||
1.页面顶端,点击你的用户名
|
||||
|
||||

|
||||
|
||||
2.在你的 profile 页面,点击 Repositories 窗口,接着点击你的库的名称
|
||||
|
||||

|
||||
|
||||
3.顶端,点击 releases
|
||||
|
||||

|
||||
|
||||
4.点击 Draft a new release
|
||||
|
||||

|
||||
|
||||
5.输入发布包的版本号。版本号基于 [Git 标签](http://git-scm.com/book/en/Git-Basics-Tagging),我们建议标签命名,符合[语义版本](http://semver.org/)。
|
||||
|
||||

|
||||
|
||||
6.选择一个分支来包含你想发布的项目。通常,你会想发布在你的主分支,除非你发布测试软件。
|
||||
|
||||

|
||||
|
||||
7.在你的发布包中输入标题和描述
|
||||
|
||||

|
||||
|
||||
8.如果发布中包含二进制文件,托文件进二进制框中
|
||||
|
||||

|
||||
|
||||
|
||||
9.如果,发布包不稳定,选择`This is a pre-release` 来提醒用户这个是不能用于生产环境的
|
||||
|
||||

|
||||
|
||||
|
||||
10.如果准备好了发布了,点击 Publish release。另外 点击 Save draft 用于保存在草稿箱中。只有你和[你的合作者]()可以看到到草稿箱。
|
||||
|
||||

|
||||
|
||||
|
||||
##Automatically creating releases 自动创建发布
|
||||
|
||||
自动创建发布(支持命令行或者脚本),详见[Releases API documentation.](https://developer.github.com/v3/repos/releases/#create-a-release)
|
||||
|
||||
##Further reading 扩展阅读
|
||||
|
||||
* [链接到发布包]()
|
||||
|
||||
|
||||
|
||||
参考:[https://help.github.com/articles/creating-releases/](https://help.github.com/articles/creating-releases/)
|
@ -0,0 +1,21 @@
|
||||
Distributing large binaries 分发大型二进制文件.
|
||||
===========
|
||||
|
||||
当项目需要分发大型的文件,比如 二进制文件或者安装包时,有几种廉价方式提供大容量存储和分发大型文件。
|
||||
|
||||
我们推荐在 Github 上 创建[项目的发布包]()。发布包允许包括二进制文件,比如编译后的程序。更多信息,参阅[创建发布包]()。
|
||||
|
||||
暂时,我们没有在二进制文件的大小和上传带宽做任何限制。
|
||||
|
||||
##Using Amazon S3 使用 AS3
|
||||
|
||||
或者,您可以使用 [Amazon S3](http://aws.amazon.com/s3/)存储服务,搭配通过 CloudFront 的 CDN 。亚马逊有一个不错的用户指南 [ Getting started with S3 ](http://docs.amazonwebservices.com/AmazonS3/latest/gsg/GetStartedWithS3.html),介绍了如何上传文件。
|
||||
|
||||
如果你是 OS X 操作系统, [Transmit](http://panic.com/transmit/) 和 [3hub](http://www.3hubapp.com/) 是两个流行的客户端 。
|
||||
|
||||
如果你是 Windows 操作系统, [S3 Browser](http://s3browser.com/) 是个不错的管理 AS3 文件的免费应用。
|
||||
|
||||
当你上传完成后,可以插入链接到 `README` 或者库的描述文档中。
|
||||
|
||||
|
||||
参考:[https://help.github.com/articles/distributing-large-binaries/](https://help.github.com/articles/distributing-large-binaries/)
|
Loading…
Reference in New Issue