【问题标题】:create a distribution file for downloading with wget at github - no git needed在 github 上使用 wget 创建一个分发文件以供下载 - 不需要 git
【发布时间】:2011-09-30 13:07:17
【问题描述】:

我希望用户能够发布如下内容:

wgethttps://nodeload.github.com/opensas/play-demo/zipball/master/opensas-play-demo-bb3a405.zip

无需克隆整个 repo,也无需浏览到 github 手动下载它

显然,github 在访问时会发出某种重定向:

https://nodeload.github.com/opensas/play-demo/zipball/master

它只是下载一些二进制文件...

有什么简单的方法可以实现吗???

【问题讨论】:

    标签: github wget


    【解决方案1】:

    我刚刚找到了答案

    我制作了一个分发 zip 文件

    使用“添加新下载”选项上传它

    现在我有以下网址来获取它:

    https://github.com/downloads/opensas/play-demo/play-demo-at-jugar-2011_09_29.zip

    【讨论】:

      猜你喜欢
      • 2015-01-30
      • 2019-02-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-11
      • 1970-01-01
      相关资源
      最近更新 更多