@@ -179,6 +179,7 @@ const (
179
179
{{- if .DoVtOp }}
180
180
> The release of vitess-operator **v{{.VtopRelease}}** is also planned.
181
181
{{- end }}
182
+ > Release team: @vitessio/release
182
183
183
184
> [!IMPORTANT]
184
185
> Please **do not** edit the content of the Issue's body manually.
@@ -210,12 +211,13 @@ const (
210
211
- [{{fmtStatus .RequestCrossPostBlogPost}}] Send requests to cross-post the blog post (CNCF, PlanetScale).
211
212
{{- end }}
212
213
213
- {{- if eq .RC 1}}
214
- ### Code Freeze _(1 week before RC-1)_
214
+ {{- if not (or (gt .RC 1) (.GA)) }}
215
+ ### Code Freeze {{if eq .RC 1}} _(1 week before)_{{else}}_(~1-3 days before)_{{end}}
215
216
- [{{fmtStatus .CodeFreeze.Done}}] Code Freeze.
216
217
{{- if .CodeFreeze.URL }}
217
218
- {{ .CodeFreeze.URL }}
218
219
{{- end }}
220
+ {{- if eq .RC 1 }}
219
221
- [{{fmtStatus .CopyBranchProtectionRules}}] Copy branch protection rules.
220
222
- [{{fmtStatus .CreateBackportToLabel.Done}}] Create the Backport to labels.
221
223
{{- if .CreateBackportToLabel.URL }}
@@ -225,6 +227,7 @@ const (
225
227
{{- if .UpdateSnapshotOnMain.URL }}
226
228
- {{ .UpdateSnapshotOnMain.URL }}
227
229
{{- end }}
230
+ {{- end }}
228
231
- [{{fmtStatus .NewGitHubMilestone.Done}}] Create new GitHub Milestone.
229
232
{{- if .NewGitHubMilestone.URL }}
230
233
- {{ .NewGitHubMilestone.URL }}
@@ -233,12 +236,6 @@ const (
233
236
234
237
### Pre-Release _(~1-3 days before)_
235
238
236
- {{- if not (or (gt .RC 0) (.GA)) }}
237
- - [{{fmtStatus .CodeFreeze.Done}}] Code Freeze.
238
- {{- if .CodeFreeze.URL }}
239
- - {{ .CodeFreeze.URL }}
240
- {{- end }}
241
- {{- end }}
242
239
- [{{fmtStatus .CreateReleasePR.Done}}] Create Release PR.
243
240
{{- if .CreateReleasePR.URL }}
244
241
- {{ .CreateReleasePR.URL }}
@@ -263,7 +260,7 @@ const (
263
260
- [{{fmtStatus .CreateBlogPostPR}}] Open a Pull Request on the website repository for the blog post.
264
261
{{- end }}
265
262
266
- ### Release _(day of )_
263
+ ### Release _({{fmtShortDate .Date }} )_
267
264
268
265
- [{{fmtStatus .MergeReleasePR.Done}}] Merge the Release PR.
269
266
{{- if .MergeReleasePR.URL }}
@@ -315,7 +312,7 @@ const (
315
312
{{- end }}
316
313
317
314
318
- ### Post-Release
315
+ ### Post-Release _({{fmtShortDate .Date }})_
319
316
- [{{fmtStatus .SlackPostRelease}}] Notify the community on Slack for the new release.
320
317
- [{{fmtStatus .Twitter}}] Twitter announcement.
321
318
- [{{fmtStatus .CloseIssue}}] Close this Issue.
@@ -639,6 +636,9 @@ func (i *Issue) toString() string {
639
636
"fmtDate" : func (d time.Time ) string {
640
637
return d .Format ("Mon _2 Jan 2006" )
641
638
},
639
+ "fmtShortDate" : func (d time.Time ) string {
640
+ return d .Format ("Mon _2 Jan" )
641
+ },
642
642
})
643
643
644
644
parsed , err := tmpl .Parse (releaseIssueTemplate )
0 commit comments