()
| 36 | |
| 37 | // 生成dev版本号 |
| 38 | export function getDevVersion() { |
| 39 | const baseVersion = getBaseVersion() |
| 40 | const monthDate = getCurrentMonthDate() |
| 41 | const commitHash = getGitCommitHash(true) |
| 42 | |
| 43 | return `${baseVersion}-d${monthDate}.${commitHash}` |
| 44 | } |
| 45 | |
| 46 | // 检查当前环境是否为dev构建 |
| 47 | export function isDevBuild() { |
no test coverage detected