Skip to content
Snippets Groups Projects
Commit 886c240c authored by 最萌小汐's avatar 最萌小汐
Browse files

copy readme and changelog when publishing

parent 3db0bc6e
Branches
Tags
No related merge requests found
......@@ -178,6 +178,10 @@ local count = copyFiles(ROOT , out) {
}
print(('复制了[%d]个文件'):format(count))
print('复制 readme ...')
fs.copy_file(ROOT / 'server' / 'changelog.md', ROOT / 'changelog.md', true)
fsu.saveFile(ROOT / 'readme.md', fsu.loadFile(ROOT / 'server' / 'readme.md'):gsub('%!%[build%][^\r\n]*', ''))
print('开始测试...')
runTest(out / 'server')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment