Skip to content

Commit a8983ae

Browse files
committed
chore(release-script): Include the step for sending announcement emails to both public and private mailing lists
Signed-off-by: Sun Seng David TAN <[email protected]>
1 parent d4d4158 commit a8983ae

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

scripts/jrelease.java

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,25 @@ public static void main(String... args) throws Exception {
162162

163163
// 15. Create GitHub release
164164
printStep(15, "Create GitHub release from previously pushed tag to upstream, enable `discussions`");
165-
print("Add changelog this to the release description:");
165+
print("Add this changelog to the release description:");
166166
executeInteractiveCommand("bash", "-c", "./scripts/changelog.sh extract " + nextReleaseVersion);
167167
print("Press enter to continue");
168168
System.in.read();
169169

170-
// 16. Tag new release in https://github.com/jkubeio/jkube-website
171-
printStep(16, "Tag new release in https://github.com/jkubeio/jkube-website (keep empty title/description)");
170+
// 16. Send email to mailing lists (internal AND public)
171+
printStep(16, "Send email to mailing lists (internal AND public)");
172+
print("Add this changelog to the mail");
173+
executeInteractiveCommand("bash", "-c", "./scripts/changelog.sh emailTemplate " + nextReleaseVersion);
172174
print("Press enter to continue");
173175
System.in.read();
174176

175-
// 17. Publish tweet in jkubeio profile
176-
printStep(17, "Publish tweet in jkubeio profile");
177+
// 17. Tag new release in https://github.com/jkubeio/jkube-website
178+
printStep(17, "Tag new release in https://github.com/jkubeio/jkube-website (keep empty title/description)");
179+
print("Press enter to continue");
180+
System.in.read();
181+
182+
// 18. Publish tweet in jkubeio profile
183+
printStep(18, "Publish tweet in jkubeio profile");
177184
print("🔥 @ECDTools #JKube new release 🚀");
178185
print("📦 v" + nextReleaseVersion);
179186
print("✨ new feat");
@@ -188,8 +195,8 @@ public static void main(String... args) throws Exception {
188195
print("Press enter to continue");
189196
System.in.read();
190197

191-
// 18. Announce the release in Gitter
192-
printStep(18, "Announce the release in Gitter");
198+
// 19. Announce the release in Gitter
199+
printStep(19, "Announce the release in Gitter");
193200
print("🔥 Eclipse JKube new release 🚀");
194201
print("📦 v" + nextReleaseVersion);
195202
print("✨ new feat");
@@ -204,13 +211,13 @@ public static void main(String... args) throws Exception {
204211
print("Press enter to continue");
205212
System.in.read();
206213

207-
// 19. Publish release
208-
printStep(19, "Publish release in https://projects.eclipse.org/projects/ecd.jkube");
214+
// 20. Publish release
215+
printStep(20, "Publish release in https://projects.eclipse.org/projects/ecd.jkube");
209216
print("Press enter to continue");
210217
System.in.read();
211218

212-
// 20. Run the Gradle verification test
213-
printStep(20,
219+
// 21. Run the Gradle verification test
220+
printStep(21,
214221
"Run the Gradle verification test: https://github.com/jkubeio/jkube-integration-tests/actions/workflows/smoke-tests.yml");
215222
print("Press enter to continue");
216223
System.in.read();

0 commit comments

Comments
 (0)