add install.sh
Some checks failed
Gitea Actions Build / build and releases (push) Failing after 7m20s
Some checks failed
Gitea Actions Build / build and releases (push) Failing after 7m20s
This commit is contained in:
parent
27184c2fa0
commit
109a2bd91e
12
install.sh
Normal file
12
install.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
|
||||||
|
FILENAME=$(jq -r .[0].assets[0].name releases.json)
|
||||||
|
DOWNLOADURL=$(jq -r .[0].assets[0].browser_download_url releases.json)
|
||||||
|
|
||||||
|
echo fileName:$FILENAME
|
||||||
|
echo BrowserDownloadUrl:$DOWNLOADURL
|
||||||
|
echo Downloading ... $FILENAME
|
||||||
|
|
||||||
|
curl -O $DOWNLOADURL
|
||||||
|
|
||||||
|
rm releases.json
|
||||||
|
rm install.sh
|
Loading…
x
Reference in New Issue
Block a user