no more curseforge!

Former-commit-id: 0ab3d741080c3e4bd46f22e8f55665e81410e1f2 [formerly de66ff55d2b5735eeef9e2a4e6d0b1420c126064]
Former-commit-id: a517b225919c36d2ae48a7ae15cc13baf366e3f6
This commit is contained in:
Ghost_chu committed 2019-05-03 15:55:41 +08:00
1 parent 821fbfbd3e
commit 8f97023e66
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ chmod +x "./jq"
# JAR为编译后jar文件名称
read JAR < $filename
xToken=$1
curl -X POST -H "X-Api-Token: $xToken" -F 'metadata={"changelog":"Auto upload by TravisCI, see update details on spigotmc.org","gameVersions":[7330,7132,7081],"releaseType":"release"}' -F "file=@./push/$JAR" -s "https://dev.bukkit.org/api/projects/320536/upload-file" > fileid.json
curl -X POST -H "X-Api-Token: $xToken" -F 'metadata={"changelog":"Auto upload by TravisCI, see update details on spigotmc.org","gameVersions":[55023,64806],"releaseType":"release"}' -F "file=@./push/$JAR" -s "https://dev.bukkit.org/api/projects/320536/upload-file" > fileid.json
cat fileid.json
jq '.id' > fileid.txt
cat fileid.txt