You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
updateExamples(nextRelease, "") // TODO: vitess-operator version not implemented
125
+
updateExamples(state.Release, "") // TODO: vitess-operator version not implemented
129
126
130
127
pl.NewStepf("Update version.go")
131
-
updateVersionGoFile(nextRelease)
128
+
UpdateVersionGoFile(state.Release)
132
129
133
130
pl.NewStepf("Update the Java directory")
134
-
updateJavaDir(nextRelease)
131
+
UpdateJavaDir(state.Release)
135
132
136
-
pl.NewStepf("Commit the update to the codebase for the v%s release", nextRelease)
137
-
if!git.CommitAll(fmt.Sprintf("Update codebase for the v%s release", nextRelease)) {
133
+
pl.NewStepf("Commit the update to the codebase for the v%s release", state.Release)
134
+
if!git.CommitAll(fmt.Sprintf("Update codebase for the v%s release", state.Release)) {
138
135
commitCount++
139
-
git.Push(remote, newBranchName)
136
+
git.Push(state.Remote, newBranchName)
140
137
}
141
138
142
139
ifcommitCount==0 {
@@ -149,9 +146,9 @@ func CreateReleasePR(state *releaser.State) (*logging.ProgressLogging, func() st
149
146
pl.NewStepf("Create Pull Request")
150
147
pr:= github.PR{
151
148
Title: releasePRName,
152
-
Body: fmt.Sprintf("Includes the release notes and release commit for the `v%s` release. Once this PR is merged, we will be able to tag `v%s` on the merge commit.", nextRelease, nextRelease),
149
+
Body: fmt.Sprintf("Includes the release notes and release commit for the `v%s` release. Once this PR is merged, we will be able to tag `v%s` on the merge commit.", state.Release, state.Release),
0 commit comments