Skip to content

Commit

Permalink
chore: Update PUBLISH.md (#2691)
Browse files Browse the repository at this point in the history
* chore(publish): update PUBLISH.md

Co-authored-by: YiJie <51358815+NWYLZW@users.noreply.github.com>

---------

Co-authored-by: YiJie <51358815+NWYLZW@users.noreply.github.com>
  • Loading branch information
HaixingOoO and NWYLZW committed Jan 11, 2024
1 parent 679d631 commit 2dcb7b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PUBLISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

-`develop` 新建 `release/x.y.z` 分支,并修改 `package.json` 中的版本号,推送分支至远程仓库,并提交一个合入`develop`的 Pull Request 到仓库
- 仓库的 Github Action 会自动整理上个版本至今 commit 对应的 CHANGELOG,并将 CHANGELOG 的 draft 作为一个评论推送到该 Pull Request 上
- 发布人检查 CHANGELOG,并优化内容逻辑结构,确认无误后删除对应评论的首行提示(即 `删除此行代表确认该日志` 所在行),Github Action 会将优化后的内容写入 CHANGELOG.md 内
- 发布人检查 CHANGELOG,并优化内容逻辑结构
- 确认无误后删除对应评论的首行提示(即 `删除此行代表确认该日志` 所在行)<font color="red">(注:需要等待 Github Action 将修改后的内容写入 `CHANGELOG.md` 内)</font>
- 确认无误后,合并分支入`develop`
- 合入 `develop` 后,仓库会触发 Github Action 合入`main`分支,并将版本号作为 `tag` 打在仓库上,并触发 Github Action 执行 npm 版本发布流程
- 合入 `main` 分支后,站点的部署流水线 web hook 会监听到 `main` 分支的新增 commit,并触发流水线,官网更新站点

0 comments on commit 2dcb7b1

Please sign in to comment.