Files
Techmino/.github/workflows/getVersion.lua
scdhh 64b8058dc6 更新ci以适配新的版本信息文件 (#214)
* 修改updateConfVersion.py

* 添加更新conf.lua时修改存档目录的步骤

* Add files via upload

* 更改ci脚本以适配新版版本信息

* 修正问题

* 打包时添加version.lua

* 更新updateVersion.py以适配新版版本信息

* 删除被替换的py文件

Co-authored-by: MrZ_26 <1046101471@qq.com>
2021-08-15 22:19:10 +08:00

12 lines
345 B
Lua

if arg[1]=="-code"then
print (require"version".apkCode)
elseif arg[1]=="-string"then
print ((require"version".string:gsub("@DEV","")))
elseif arg[1]=="-updateNote"then
local note=require"parts.updateLog"
local p1=note:find("\n%d")
local p2=note:find("\n%d",p1+1)
note=note:sub(p1,p2-2)
note=note:gsub("\t","")
print (note)
end