在github上托管可执行文件 [英] Hosting executable on github

查看:144
本文介绍了在github上托管可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望允许用户在github上下载我的一个项目的可执行文件,而无需下载所有的源代码或浏览整个项目。 根据这个类似的问题,你可以使用上传/下载服务,显然,github有关机

那么还有另外一种方法吗? github的目标只是分享代码,而不是软件? 您可以创建另一个存储库来托管您的所有构建,我的意思是可执行文件。在这个版本库中,除了你的版本之外,不要添加任何你的代码。



因此,人们可以点击git hub上的下载Zip按钮,只下载可执行文件(作为zip文件)。

在构建时,您可以将可执行文件复制到文件夹中,只需将其推送到只托管构建的远程存储库即可。



希望这会有所帮助。

基本上,GIT只是一个SCM(源代码管理系统),它并不是为此目的而设计的。

但仍然可以使用github.org和amd git的服务。



希望这有助于。

编辑:

Git hub现在有一个解决方案,已经在下面的帖子中得到了@VonC的充分解释。请使用它作为解决方案。

I want allow users to download executable of one of my project on github, without downloading all sources or browsing the entire project.

According to this similar question, you could use a upload/download service, which apparently, github has shut down.

So is there another way? Is github aiming at sharing code only, not software?

解决方案

You can create another repository to host all your builds , I mean executable files . With in that repository don't add any of your code other than your builds ,

As a result of this , people can click on download Zip button at git hub , which downloads only executable ( as a zip file ).

while building you can copy the executable file in a folder just push to remote repository which is hosting only builds .

Hope this helps .

basically , GIT is just an SCM ( source code management system ) it is not meant for this purpose .

but still this how you can utilize the service of github.org amd git .

hope this helps .

EDIT : -

Git hub now has a solution for hosting releases it has been well explained by @VonC in the post below . Please use that as a solution.

这篇关于在github上托管可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆