feat: 更新 Web 项目发布构建的 GitHub Action,确保版本号输出统一添加 v 前缀,优化版本获取逻辑,更新文档以反映新格式和使用示例。

This commit is contained in:
Lyda
2025-08-20 19:29:45 +08:00
parent da4e1db20d
commit e4063690cd
5 changed files with 53 additions and 45 deletions

View File

@@ -121,7 +121,7 @@ module.exports = {
},
hooks: {
'before:release': [
`echo '\${version}' > /tmp/last-version`,
`echo 'v\${version}' > /tmp/last-version`,
'git add --all',
'npm run build'
],