Update GitHub uploader

This commit is contained in:
Him188 2020-08-27 22:18:35 +08:00
parent 5a959619c7
commit 9e4deb1b6e

View File

@ -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" """}
}