Add binary distribution to github's download link

前端 未结 5 1960
醉酒成梦
醉酒成梦 2020-12-01 17:48

Github has this download link on the repositories. How can I add binary distributions to this list?

I cannot find any info on help.github, so a link to some document

5条回答
  •  囚心锁ツ
    2020-12-01 18:19

    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.

提交回复
热议问题