-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from gsmet/email-templates
Use code blocks for email templates for easy copy/pasting
- Loading branch information
Showing
3 changed files
with
50 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,20 +85,24 @@ public int run(Context context, Commands commands, GitHub quarkusBotGitHub, Rele | |
} else { | ||
comment.append("Then it is time to send an email to [[email protected]](mailto:[email protected]):\n\n"); | ||
comment.append("Subject: `Quarkus " + releaseInformation.getVersion() + " released`\n\n"); | ||
comment.append("> Hi,\n" | ||
+ "> \n" | ||
+ "> We released Quarkus " + releaseInformation.getVersion() + ".\n" | ||
+ "> \n" | ||
+ "> Changelog is here:\n" | ||
+ "> https://github.com/quarkusio/quarkus/releases/tag/" + releaseInformation.getVersion() + "\n" | ||
+ "> \n" | ||
+ "> Please try to upgrade your applications and report back:\n" | ||
+ "> - if everything is going well, just post a reply to this thread\n" | ||
+ "> - if you encounter issues, please open a GitHub issue in our tracker with a simple reproducer\n" | ||
+ "> \n" | ||
+ "> We will build the final core artifacts next Wednesday.\n" | ||
+ "> \n" | ||
+ "> Thanks!\n"); | ||
comment.append("```\n"); | ||
comment.append("Hi,\n" | ||
+ "\n" | ||
+ "We released Quarkus " + releaseInformation.getVersion() + ".\n" | ||
+ "\n" | ||
+ "Changelog is here:\n" | ||
+ "https://github.com/quarkusio/quarkus/releases/tag/" + releaseInformation.getVersion() + "\n" | ||
+ "\n" | ||
+ "Please try to upgrade your applications and report back:\n" | ||
+ "- if everything is going well, just post a reply to this thread\n" | ||
+ "- if you encounter issues, please open a GitHub issue in our tracker with a simple reproducer\n" | ||
+ "\n" | ||
+ "We will build the final core artifacts next Wednesday.\n" | ||
+ "\n" | ||
+ "Thanks!\n\n" | ||
+ "--\n" | ||
+ "The Quarkus dev team"); | ||
comment.append("```\n"); | ||
} | ||
|
||
issue.comment(comment.toString()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,15 +66,22 @@ public boolean shouldPause(Context context, Commands commands, GitHub quarkusBot | |
if (releaseInformation.isFirstFinal()) { | ||
comment.append("* Send an email to the Platform coordination mailing list: [[email protected]](mailto:[email protected]) :\n\n"); | ||
comment.append("Subject: `Quarkus " + releaseInformation.getVersion() + " core artifacts are available`\n\n"); | ||
comment.append("> Hi,\n" | ||
+ "> \n" | ||
+ "> The Quarkus " + releaseInformation.getVersion() + " core artifacts are available on Maven Central.\n" | ||
+ "> \n" | ||
+ "> CI is still running for the upgrade, the pull request will be merged once CI has passed.\n" | ||
+ "> We will ping teams in the pull request if some components have issues.\n\n" | ||
+ "> If you want to update your components, please create your pull requests and make sure they are merged before next Tuesday.\n" | ||
+ "> \n" | ||
+ "> Thanks.\n\n"); | ||
comment.append("```\n"); | ||
comment.append("Hi,\n" | ||
+ "\n" | ||
+ "The Quarkus " + releaseInformation.getVersion() + " core artifacts are available on Maven Central.\n" | ||
+ "\n" | ||
+ "The pull request updating the Platform to Quarkus " + releaseInformation.getVersion() + " has been merged in the main branch.\n" | ||
+ "We pinged the team maintaining components not passing the tests in the pull request.\n" | ||
+ "\n" | ||
+ "If you want to update your components, please create your pull requests and make sure they are merged before next Tuesday.\n" | ||
+ "\n" | ||
+ "Thanks.\n" | ||
+ "\n" | ||
+ "--\n" | ||
+ "The Quarkus dev team\n" | ||
); | ||
comment.append("```\n\n"); | ||
comment.append("* If CI failed for some Platform members, please contact them so that they are aware of the issues\n\n"); | ||
comment.append(":warning: **IMPORTANT - STOP HERE**\n"); | ||
comment.append(":warning: **IMPORTANT - Wait a week before continuing with the Platform release**\n\n"); | ||
|