@@ -79,6 +79,7 @@ const (
79
79
vtopUpdateGoItem = "Update vitess-operator Golang version."
80
80
vtopUpdateCompTableItem = "Update vitess-operator compatibility table."
81
81
createBlogPostPRItem = "Open a Pull Request on the website repository for the blog post."
82
+ UpdateCobraDocs = "Update Cobra Docs."
82
83
83
84
// Release
84
85
mergeReleasePRItem = "Merge the Release PR."
@@ -95,10 +96,12 @@ const (
95
96
dockerImagesItem = "Docker Images available on DockerHub."
96
97
closeMilestoneItem = "Close current GitHub Milestone."
97
98
mergeBlogPostItem = "Merge the blog post Pull Request on the website repository."
99
+ ReleaseArtifactsItem = "Check that release artifacts were generated."
98
100
99
101
// Post-Release
100
102
postSlackAnnouncementItem = "Notify the community on Slack for the new release."
101
103
twitterItem = "Twitter announcement."
104
+ RemoveBypassProtection = "Remove bypass branch protection rules, if required."
102
105
closeReleaseItem = "Close this Issue."
103
106
)
104
107
@@ -151,6 +154,7 @@ type (
151
154
VtopCreateReleasePR ItemWithLinks
152
155
VtopManualUpdate bool
153
156
CreateBlogPostPR bool
157
+ UpdateCobraDocs bool
154
158
155
159
// Release
156
160
MergeReleasePR ItemWithLink
@@ -165,11 +169,13 @@ type (
165
169
Benchmarked bool
166
170
DockerImages bool
167
171
CloseMilestone ItemWithLink
172
+ ReleaseArtifacts bool
168
173
169
174
// Post-Release
170
- SlackPostRelease bool
171
- Twitter bool
172
- CloseIssue bool
175
+ SlackPostRelease bool
176
+ Twitter bool
177
+ CloseIssue bool
178
+ RemoveBypassProtection bool
173
179
}
174
180
)
175
181
@@ -257,6 +263,7 @@ const (
257
263
{{- if .GA }}
258
264
- [{{fmtStatus .CreateBlogPostPR}}] Open a Pull Request on the website repository for the blog post.
259
265
{{- end }}
266
+ - [{{fmtStatus .UpdateCobraDocs}}] Update Cobra Docs.
260
267
261
268
### Release _({{fmtShortDate .Date }})_
262
269
@@ -298,12 +305,14 @@ const (
298
305
- {{ .CloseMilestone.URL }}
299
306
{{- end }}
300
307
{{- end }}
301
-
308
+ - [{{fmtStatus .ReleaseArtifacts}}] Check that release artifacts were generated.
302
309
303
310
### Post-Release _({{fmtShortDate .Date }})_
304
311
- [{{fmtStatus .SlackPostRelease}}] Notify the community on Slack for the new release.
305
312
- [{{fmtStatus .Twitter}}] Twitter announcement.
313
+ - [{{fmtStatus .RemoveBypassProtection}}] Remove bypass branch protection rules, if required.
306
314
- [{{fmtStatus .CloseIssue}}] Close this Issue.
315
+
307
316
`
308
317
)
309
318
@@ -497,6 +506,12 @@ func (s *State) LoadIssue() {
497
506
newIssue .MergeBlogPostPR = strings .HasPrefix (line , markdownItemDone )
498
507
case strings .Contains (line , javaRelease ):
499
508
newIssue .JavaRelease = strings .HasPrefix (line , markdownItemDone )
509
+ case strings .Contains (line , UpdateCobraDocs ):
510
+ newIssue .UpdateCobraDocs = strings .HasPrefix (line , markdownItemDone )
511
+ case strings .Contains (line , ReleaseArtifactsItem ):
512
+ newIssue .ReleaseArtifacts = strings .HasPrefix (line , markdownItemDone )
513
+ case strings .Contains (line , RemoveBypassProtection ):
514
+ newIssue .RemoveBypassProtection = strings .HasPrefix (line , markdownItemDone )
500
515
}
501
516
case stateReadingGeneral :
502
517
newIssue .General .Items = append (newIssue .General .Items , handleNewListItem (lines , i , & st ))
0 commit comments