diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..07adfa0 --- /dev/null +++ b/install.sh @@ -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 \ No newline at end of file