mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-31 09:48:13 +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 (Base::isSuccess($res)) {
|
||||||
if (in_array($res['data']['name'], ['latest.yml', 'latest-mac.yml']) && $body) {
|
if (in_array($res['data']['name'], ['latest.yml', 'latest-mac.yml']) && $body) {
|
||||||
|
$content = str_replace("\n", "\n ", $body);
|
||||||
$content = <<<EOF
|
$content = <<<EOF
|
||||||
releaseNotes: |-
|
releaseNotes: |-
|
||||||
$body
|
$content
|
||||||
EOF;
|
EOF;
|
||||||
file_put_contents($res['data']['file'], $content, FILE_APPEND);
|
file_put_contents($res['data']['file'], $content, FILE_APPEND);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user