假設項目名稱為project_name
假設項目的releases的URL如下
https://github.com/project_name/releases
wget
下載時需要添加:
- 1.
download
- 2.版本號 假設為
v0.0.1
- 3.系統版本為
project_name-linux-64.zip
即連起來為download/v0.0.1/project-linux-64.zip
wget下載命令如下:
wget https://github.com/project_name/releases/download/v0.0.1/project-linux-64.zip
但是github下載速度比較慢,可以用wget代理
wget -e use_proxy=yes -e http_proxy=127.0.0.1:1080 https://github.com/project_name/releases/download/v0.0.1/project-linux-64.zip