-
Notifications
You must be signed in to change notification settings - Fork 410
手动构建二进制包 #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
手动构建二进制包 #52
Conversation
非常感谢您的提交!
但是我认为 http://gogs.io/docs/installation/install_from_source.html#%E5%AE%89%E8%A3%85-gogs 页面已经很好地展示了安装和更新通用的步骤。 😀
主要是因为老版本有一点问题,此服务器在国内,国内不能够构建,因此花费很长的时间去在国外构建,然后再打包传到国内。这个过程简直痛苦,希望别的一些团队在国内同时也希望能够第一时间更新自己的二进制包的话,能看到我写的这一段,节约一些时间。
但是 build.sh 并没有解决从国外拉取依赖的问题。。
在国外构建好然后把output_amd64压缩传到国内就行了,构建好然后传到国内就不需要依赖了
和那个zip的效果一样,可以在远程生成最新版本的zip包,然后直接解压使用
但是这个和目前文档里的方法并没有什么不同啊0 0
文档里没写怎么打包二进制,只看到了编译。
那就是差了一行 zip -r gogs.zip gogs 吧
我试过直接打包gogs文件夹但是没有用,最后还是用build.sh才有用的
你指的"没用"具体表现是什么。。。?
好吧,看来只是多了一个.git文件夹,当初只是和你的二进制文件相比一下子变大了很多于是就找到build脚本之后觉得能把压缩包大小减小,仅仅如此而已。
好吧。。。。额。。
手动构建二进制包,因为有些特性迫切需要