File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ if rootPath == '' then
44 rootPath = ' ./'
55end
66loadfile (rootPath .. ' server/platform.lua' )(' script' )
7- require ' bee'
87local fs = require ' bee.filesystem'
98local subprocess = require ' bee.subprocess'
109local platform = require ' bee.platform'
@@ -132,7 +131,7 @@ local version = loadPackage()
132131print (' 版本号为:' .. version )
133132
134133print (' 复制 readme ...' )
135- fs .copy_file (ROOT / ' server' / ' changelog.md' , ROOT / ' changelog.md' , true )
134+ fs .copy_file (ROOT / ' server' / ' changelog.md' , ROOT / ' changelog.md' , fs . copy_options . overwrite_existing )
136135fsu .saveFile (ROOT / ' README.md' , fsu .loadFile (ROOT / ' server' / ' README.md' ):gsub (' %!%[build%][^\r\n ]*' , ' ' ))
137136
138137local out = createDirectory (version )
You can’t perform that action at this time.
0 commit comments