This commit is contained in:
parent
187dd35820
commit
1c459ca6a2
@ -1,13 +1,13 @@
|
|||||||
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
|
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
|
||||||
|
|
||||||
FILENAME=$(python -c "
|
FILENAME=$(python3 -c "
|
||||||
import json;
|
import json;
|
||||||
with open('releases.json') as f:
|
with open('releases.json') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
print(data[0]['assets'][0]['name'])
|
print(data[0]['assets'][0]['name'])
|
||||||
")
|
")
|
||||||
|
|
||||||
DOWNLOADURL=$(python -c "
|
DOWNLOADURL=$(python3 -c "
|
||||||
import json;
|
import json;
|
||||||
with open('releases.json') as f:
|
with open('releases.json') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user