(zip, path, content)
| 20 | const zipMtime = new Date(); |
| 21 | |
| 22 | const addZipFile = async (zip, path, content) => { |
| 23 | await zip.add({ |
| 24 | path, |
| 25 | data: content, |
| 26 | meta: { modifiedAt: zipMtime }, |
| 27 | }); |
| 28 | }; |
| 29 | |
| 30 | // 判断是否为beta版本 |
| 31 | const version = semver.parse(packageInfo.version); |