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
确定 Release 规则 #47
Comments
最简单的方式是走 pr
也可以考虑自动发布版本,就是 PR 合并后不需要人肉操作,自动切 tag 和 publish |
就继续按之前的做法,手动写 release histroy 和版本号,然后提交 pr ,确认没问题后合并到 master,然后打 tag,执行 npm publish。 |
1.0 后的 release 规则要不要按原先的来?走 PR 提交 changelog。 |
@popomore 写一个 release 流程说明 |
那我写个 RFC 吧,然后再讨论 |
新仓库的配置也写一个说明? 包括 branch, service 之类的 |
vue 的 release note 会在 github release 那里: https://github.com/vuejs/vue/releases 这个我们也可以搞搞, 不知道是不是读取 commit message body |
嗯,可以搞搞
TZ | 天猪 <notifications@github.com>于2017年2月8日 周三09:13写道:
… vue 的 release note 会在 github release 那里:
https://github.com/vuejs/vue/releases
这个我们也可以搞搞, 不知道是不是读取 commit message body
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAWA1d5jUDqLpsXRMS-ZzRIXcaw0xYS_ks5raRabgaJpZM4JlVKJ>
.
|
更新了 |
+1 这几点要不要补充?
正文中那些点:
|
其他的模块是否不做这个强约定了?保证 egg 就好,因为 egg 要做的工作可能多一点。 |
先做 egg 吧,如果工具都有了足够简单的话再看其他库吧。 |
@dead-horse 只需要 egg 吧,其他模块使用最简单的 release 模式 |
+1 |
这个还没做完 |
感觉现在的发布模式也够用了,这个 issue 关掉吧? |
加到 Project: maybe 里面待跟踪吧。可以先关掉。 |
背景
Egg 参与人员过多,仓库过多,经常会遇到某个人没有某仓库的发布权限。
Release 时会修改版本和更新 changelog,这个也需要 review。
目标
方案
锁定 master 目录不允许任何人提交,并添加合并检测(review+2,travis 和 codecov 通过)。
Release 时本地修改版本和 changelog 后提交 PR,review 后合并。
Travis 根据 commit 信息判断是否 release(非 PR,master 分支,切 commit 匹配),通过 eggjs 账号 发布到 npm。
Action
chore(release): release 1.0.0
Updated at 2017-02-09
以后所有的仓库都需要这样配置,不允许直接 push 到 master。但是 release 的时候还有一步需要 push,这个规则需要明确下。
The text was updated successfully, but these errors were encountered: