Skip to content

Commit 98eb568

Browse files
author
Dung Le
committed
internal/relui: add output that registers CreateUpdateStdlibIndexCL
For golang/go#54377 Change-Id: I7a2a4f3592a9386faa3ebc63df1b6dbbc1c6c0a2 Reviewed-on: https://go-review.googlesource.com/c/build/+/448715 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Dylan Le <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
1 parent 0f1bb4b commit 98eb568

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

internal/relui/buildrelease_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ func TestRelease(t *testing.T) {
4545
t.Run("rc", func(t *testing.T) {
4646
testRelease(t, "go1.18rc1", task.KindRC)
4747
})
48+
t.Run("major", func(t *testing.T) {
49+
testRelease(t, "go1.18", task.KindMajor)
50+
})
4851
}
4952

5053
func TestSecurity(t *testing.T) {

internal/relui/workflows.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ func addSingleReleaseWorkflow(
393393
pushed := wf.Action3(wd, "Push issues", milestone.PushIssues, milestones, nextVersion, kindVal, wf.After(tagged))
394394
versionPublished = wf.Task2(wd, "Publish to website", build.publishArtifacts, nextVersion, signedAndTestedArtifacts, wf.After(uploaded, pushed))
395395
if kind == task.KindMajor {
396-
wf.Task3(wd, fmt.Sprintf("Mail update stdlib index CL for 1.%d", major), version.CreateUpdateStdlibIndexCL, wf.Const("master"), coordinators, versionPublished)
396+
updateStdlibIndexCL := wf.Task3(wd, fmt.Sprintf("Mail update stdlib index CL for 1.%d", major), version.CreateUpdateStdlibIndexCL, wf.Const("master"), coordinators, versionPublished)
397+
wf.Output(wd, "Stdlib regeneration CL", updateStdlibIndexCL)
397398
}
398399
wf.Output(wd, "Released version", versionPublished)
399400
return versionPublished

0 commit comments

Comments
 (0)