Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化CI流程,自动创建Release #465

Closed
chivehao opened this issue Oct 7, 2023 · 3 comments · Fixed by #470
Closed

优化CI流程,自动创建Release #465

chivehao opened this issue Oct 7, 2023 · 3 comments · Fixed by #470
Labels
documentation Improvements or additions to documentation improvement Improvements some feature
Milestone

Comments

@chivehao
Copy link
Member

chivehao commented Oct 7, 2023

优化CI流程,自动创建Release

触发条件有两个:

  • 分支名以release开头,比如 release-{version}
  • 标签名以 v开头,比如 v{version}

想要的效果是,
如果使用 git 打上 Tag 比如 v0.8.0 发布版本、
或者使用git 创建新的 Release 分支 比如 Release-1.0 时,
通过CI自动读取更新日志的内容,创建新的Release

@chivehao chivehao added documentation Improvements or additions to documentation improvement Improvements some feature labels Oct 7, 2023
@chivehao chivehao added this to the 0.8 milestone Oct 7, 2023
@chivehao
Copy link
Member Author

chivehao commented Oct 7, 2023

发布Release后续的多个平台发布,目前是手动复制的,后续看是否需要整个程序通过CI自动同步。

整理下当前的更新发布平台:

  • 官网文档博客
  • 电报
  • 番组计划
  • 哔哩哔哩
  • 微信公众号

后续可能添加的平台:

  • QQ频道
  • Discord

@chivehao chivehao linked a pull request Oct 11, 2023 that will close this issue
2 tasks
@chivehao
Copy link
Member Author

目前是当推送了一个Tag比如v0.x.yCI会自动读取CHANGELOG.MD的对应版本内容,起草一个Draft Release
当我手动更新Draft Release的内容并发布后,Draft Release才会变成公开的Release
需要注意的是:
当一个公开的Release被发布后,会触发CI自动构建FastJar

@chivehao
Copy link
Member Author

@li-guohao 现在的CI越来越复杂了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation improvement Improvements some feature
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant