Add binary distribution to github's download link

我与影子孤独终老i 提交于 2019-11-27 09:00:59

On Dec 11, 2012 "Upload Releases" functionality aka "Downloads" was deprecated.

https://github.com/blog/1302-goodbye-uploads

Update: On July 2, 2013 GitHub team announced a new "Releases" feature as a replacement for "Downloads"

https://github.com/blog/1547-release-your-software

There is a new kid in town: https://bintray.com/

* I am not affiliated

How to add files to the release

Simply follow the "releases" link within your github project.

Given this example:

  • user: thoughtbot
  • repo: neat

Final link would be: https://github.com/thoughtbot/neat/releases

Then click "Add new release" or "Edit release" to get into the upload page and at the bottom of that page you will see a legend:

Attach binaries for this release by dropping them here.

Some notes regarding size limits:

Github release feature is awesome! Just consider it is designed to host files under 50mb without a warning and a hard-limit of 100mb. Also, please no more than 1GB per account!

For large binary files they recommend using a third-party service like Dropbox but if you are open source or on a tight budget i recommend you use sourceforge.net.

Sourceforge is for open source, is free, and holds large files (up to 5GB per file) without regret. I managed to share an entire VirtualBox image of 1.1gb!! The amount of files you can upload is not clearly limited so assume unlimited

Bintray is nice but possess a 30mb limit per file and 500mb per account so you may stick with github if your files are under those limits.

Disclaimer: I'm not affiliated nor do i work for any of the mentioned companies.

VonC

The download link is first meant for git archive.
As Holger Just point out in his answer (upvoted), you can add "a new download".

See the blog post "Nodeload2: Downloads Reloaded" for considering all the troubles they have with providing that one service:

Nodeload is what prepares git repository contents into zip and tarballs.
Essentially, we have too many requests flowing through the single nodeload server. These requests were spawning git archive processes, which spawn ssh processes to communicate with the file servers.

You can create releases and attach binary downloads to each release. This replaced a similar feature called the downloads page that was removed in late 2012.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!