简体   繁体   English

使用命令行将源程序包上传到GitHub版本

[英]Upload Source Package to GitHub Release with Command Line

I have a large source package (tar.gz) that I would like to upload a GitHub repository as a new release. 我有一个大型源代码包(tar.gz),我想将GitHub存储库作为新版本上载。

I'm familiar with SourceForge's rysnc capability, but was wondering if it is possible to use the command line to upload source packages to a GitHub repository's release? 我熟悉SourceForge的rysnc功能,但想知道是否可以使用命令行将源包上传到GitHub存储库的发行版中?

It takes a very long time to transfer the files using a web browser. 使用网络浏览器传输文件需要很长时间。 What are my options, googling did not return much. 我有什么选择,谷歌搜索没有得到太多回报。

The first link should answer your question on "command line to upload source packages to a GitHub repository's release" 第一个链接应在“将源软件包上传到GitHub存储库版本的命令行”上回答您的问题

https://stackoverflow.com/a/9951817/6491187 https://stackoverflow.com/a/9951817/6491187

direct link on github. github上的直接链接。 https://github.com/blog/1547-release-your-software https://github.com/blog/1547-release-your-software

You could use curl to do it easily like described in this post: 您可以使用curl轻松完成此操作,如这篇文章中所述:

https://developer.github.com/changes/2013-09-25-releases-api/ https://developer.github.com/changes/2013-09-25-releases-api/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM