@@ -179,13 +179,14 @@ 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.
185
186
> The **vitess-releaser** tool is managing and handling this issue.
186
187
> You can however click on the check boxes to mark them as done/not done, and write comments.
187
188
188
- ### Prerequisites
189
+ ### Prerequisites _(~2 weeks before)_
189
190
190
191
- [{{fmtStatus .General.Done}}] General prerequisites.
191
192
{{- range $item := .General.Items }}
@@ -206,15 +207,12 @@ const (
206
207
- [{{fmtStatus .RequestCrossPostBlogPost}}] Send requests to cross-post the blog post (CNCF, PlanetScale).
207
208
{{- end }}
208
209
209
-
210
- ### Pre-Release
211
-
212
- {{- if not (or (gt .RC 1) (.GA)) }}
210
+ {{- if not (or (gt .RC 1) (.GA))}}
211
+ ### Code Freeze {{if eq .RC 1}}_(1 week before)_{{else}}_(~1-3 days before)_{{end}}
213
212
- [{{fmtStatus .CodeFreeze.Done}}] Code Freeze.
214
213
{{- if .CodeFreeze.URL }}
215
214
- {{ .CodeFreeze.URL }}
216
215
{{- end }}
217
- {{- end }}
218
216
{{- if eq .RC 1 }}
219
217
- [{{fmtStatus .CopyBranchProtectionRules}}] Copy branch protection rules.
220
218
- [{{fmtStatus .CreateBackportToLabel.Done}}] Create the Backport to labels.
@@ -226,16 +224,18 @@ const (
226
224
- {{ .UpdateSnapshotOnMain.URL }}
227
225
{{- end }}
228
226
{{- end }}
229
- - [{{fmtStatus .CreateReleasePR.Done}}] Create Release PR.
230
- {{- if .CreateReleasePR.URL }}
231
- - {{ .CreateReleasePR.URL }}
232
- {{- end }}
233
- {{- if lt .RC 2 }}
234
227
- [{{fmtStatus .NewGitHubMilestone.Done}}] Create new GitHub Milestone.
235
228
{{- if .NewGitHubMilestone.URL }}
236
229
- {{ .NewGitHubMilestone.URL }}
237
230
{{- end }}
238
231
{{- end }}
232
+
233
+ ### Pre-Release _(~1-3 days before)_
234
+
235
+ - [{{fmtStatus .CreateReleasePR.Done}}] Create Release PR.
236
+ {{- if .CreateReleasePR.URL }}
237
+ - {{ .CreateReleasePR.URL }}
238
+ {{- end }}
239
239
{{- if .DoVtOp }}
240
240
{{- if eq .RC 1 }}
241
241
- [{{fmtStatus .VtopCreateBranch}}] Create vitess-operator release branch.
@@ -256,7 +256,7 @@ const (
256
256
- [{{fmtStatus .CreateBlogPostPR}}] Open a Pull Request on the website repository for the blog post.
257
257
{{- end }}
258
258
259
- ### Release
259
+ ### Release _({{fmtShortDate .Date }})_
260
260
261
261
- [{{fmtStatus .MergeReleasePR.Done}}] Merge the Release PR.
262
262
{{- if .MergeReleasePR.URL }}
@@ -308,7 +308,7 @@ const (
308
308
{{- end }}
309
309
310
310
311
- ### Post-Release
311
+ ### Post-Release _({{fmtShortDate .Date }})_
312
312
- [{{fmtStatus .SlackPostRelease}}] Notify the community on Slack for the new release.
313
313
- [{{fmtStatus .Twitter}}] Twitter announcement.
314
314
- [{{fmtStatus .CloseIssue}}] Close this Issue.
@@ -638,6 +638,9 @@ func (i *Issue) toString() string {
638
638
"fmtDate" : func (d time.Time ) string {
639
639
return d .Format ("Mon _2 Jan 2006" )
640
640
},
641
+ "fmtShortDate" : func (d time.Time ) string {
642
+ return d .Format ("Mon _2 Jan" )
643
+ },
641
644
})
642
645
643
646
parsed , err := tmpl .Parse (releaseIssueTemplate )
0 commit comments