mirror of
https://git.bjxgj.com/xgj/xgj-actions.git
synced 2025-10-14 08:33:37 +08:00
feat: 更新 Web 项目发布构建的 GitHub Action,确保版本号输出统一添加 v 前缀,优化版本获取逻辑,更新文档以反映新格式和使用示例。
This commit is contained in:
@@ -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'
|
||||
],
|
||||
|
Reference in New Issue
Block a user