Is there a link to GitHub for downloading a file in the latest release of a repository?

前端 未结 18 2334
情深已故
情深已故 2020-12-02 04:26

Using GitHub\'s Release feature, it is possible to provide a link to download a specific version of the published software. However, every time a release is made, the gh-pag

18条回答
  •  天涯浪人
    2020-12-02 04:59

    Just use one of the urls below to download the latest release: (took urls from boxbilling project for example): https://api.github.com/repos/boxbilling/boxbilling/releases

    Download the latest release as zip: https://api.github.com/repos/boxbilling/boxbilling/zipball

    Download the latest release as tarball: https://api.github.com/repos/boxbilling/boxbilling/tarball

    Click on one of the urls to download the latest release instantly. As i wrote this lines it's currently: boxbilling-boxbilling-4.20-30-g452ad1c[.zip/.tar.gz]

    UPDATE: Found an other url in my logfiles (ref. to example above) https://codeload.github.com/boxbilling/boxbilling/legacy.tar.gz/master

提交回复
热议问题