add install.sh
Some checks failed
Gitea Actions Build / build and releases (push) Failing after 7m20s

This commit is contained in:
Armamem0t 2025-06-18 21:46:11 +08:00
parent 27184c2fa0
commit 109a2bd91e
Signed by: minglipro
GPG Key ID: 5F355A77B22AA93B

12
install.sh Normal file
View 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