-
Notifications
You must be signed in to change notification settings - Fork 314
TinyVue月度大版本发布流程
gimmyhehe edited this page Jul 15, 2025
·
11 revisions
- 确定本次版本需要发布哪些新特性
- 确定本次版本需要修复的bug范围
- 拉取release-3.x.0分支
- 使用github-action跑通所有测试用例:https://github.com/opentiny/tiny-vue/actions/workflows/test-e2e-all.yml
- 排查和修复报错的测试用例
- 使用正则搜索批量替换版本号
"version": "3.25.\d{1,2}"
,合入dev
分支后,发布测试包 - 发布所有测试包流水线(组件、vue-docs、theme、renderless等):https://github.com/opentiny/tiny-vue/actions/workflows/dispatch-all-publish-alpha.yml
- 排查和修复发布测试包发现的组件库发布问题
- 组件补丁包流水线:https://github.com/opentiny/tiny-vue/actions/workflows/dispatch-ui-publish-alpha.yml
- renderless、theme、vue-docs补丁包流水线:https://github.com/opentiny/tiny-vue/actions/workflows/dispatch-renderless-theme-publish-alpha.yml
- 排查和修复发布测试包发现的组件库发布问题
- 修复完成相关问题后,重新发布最新vue-docs包(若无相关修改可无需更新)后发布测试官网:
- 测试官网构建发布流水线:https://github.com/opentiny/tiny-vue-web-doc/actions/workflows/auto-deploy-site.yml
- 排查和修复发布测试官网中发现的构建问题
- 排查和修复所有未通过的e2e测试用例
- 使用dev分支拉取release分支
release-3.25.0
并打tag - 执行命令
git tag -a v3.25.0 -m '发布3.25.0版本'
生成tag - 执行命令
git push origin v3.25.0
推送tag - 执行完前两步后会自动触发自动发布脚本:https://github.com/opentiny/tiny-vue/actions/workflows/auto-all-publish.yml
- 将对应版本生成的releaseNote复制到官网更新日志
changelog.md
changelog-en.md
: https://github.com/opentiny/tiny-vue/tags - 删除最旧版本的更新日志信息,仅保留三个版本。
- 更新playground组件版本。
- const VERSION = 'tiny-vue-version-3.24'
+ const VERSION = 'tiny-vue-version-3.25'
const NOTIFY_KEY = 'tiny-vue-playground-notify'
const LAYOUT = 'playground-layout'
const LAYOUT_REVERSE = 'playground-layout-reverse'
const searchObj = new URLSearchParams(location.search)
const tinyMode = searchObj.get('mode')
const tinyTheme = searchObj.get('theme')
const isMobileFirst = tinyMode === 'mobile-first'
const isSaas = tinyTheme === 'saas'
const isPreview = searchObj.get('openMode') === 'preview' // 是否多端弹窗预览
- const versions = ['3.24', '3.23', '3.22']
+ const versions = ['3.25', '3.24', '3.23']
- 等TinyVue包都入库后发布正式官网
- 后续所有的补丁版本发布都要打tag并生成releaseNote