mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-03 05:34:42 +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()))
|
||||
body = """
|
||||
{
|
||||
"message": "automatically upload on release",
|
||||
"message": "Automatically upload on release ${project.name}:${project.version}",
|
||||
"content": "$content"
|
||||
${if (sha == null) "" else """, "sha": "$sha" """}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user