mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +08:00
Update GitHub uploader
This commit is contained in:
parent
5a959619c7
commit
9e4deb1b6e
@ -89,7 +89,7 @@ object GitHub {
|
|||||||
val content = String(Base64.getEncoder().encode(file.readBytes()))
|
val content = String(Base64.getEncoder().encode(file.readBytes()))
|
||||||
body = """
|
body = """
|
||||||
{
|
{
|
||||||
"message": "automatically upload on release",
|
"message": "Automatically upload on release ${project.name}:${project.version}",
|
||||||
"content": "$content"
|
"content": "$content"
|
||||||
${if (sha == null) "" else """, "sha": "$sha" """}
|
${if (sha == null) "" else """, "sha": "$sha" """}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user