mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
Fix api push, again
This commit is contained in:
@@ -24,7 +24,7 @@ jar_name="leaves-$mcversion.jar"
|
||||
jar_sha256=`sha256 $jar_name`
|
||||
|
||||
data=$(cat <<EOF
|
||||
{
|
||||
'{
|
||||
"project_id": "$project_id",
|
||||
"project_name": "$project_name",
|
||||
"version": "$mcversion",
|
||||
@@ -40,8 +40,8 @@ data=$(cat <<EOF
|
||||
}
|
||||
},
|
||||
"secret": "$secret"
|
||||
}
|
||||
}'
|
||||
EOF
|
||||
)
|
||||
|
||||
curl -X POST -H "Content-Type: application/json" -d '$data' https://api.leavesmc.top/new_release
|
||||
curl -X POST -H "Content-Type: application/json" -d $data https://api.leavesmc.top/new_release
|
||||
|
||||
Reference in New Issue
Block a user