mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 21:28:12 +00:00
no message
This commit is contained in:
parent
27ec2c276a
commit
e39335864d
@ -101,9 +101,10 @@ class IndexController extends InvokeController
|
||||
]);
|
||||
if (Base::isSuccess($res)) {
|
||||
if (in_array($res['data']['name'], ['latest.yml', 'latest-mac.yml']) && $body) {
|
||||
$content = str_replace("\n", "\n ", $body);
|
||||
$content = <<<EOF
|
||||
releaseNotes: |-
|
||||
$body
|
||||
$content
|
||||
EOF;
|
||||
file_put_contents($res['data']['file'], $content, FILE_APPEND);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user