-
Notifications
You must be signed in to change notification settings - Fork 2
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 #203 from gsmet/emergency
Avoid Platform release steps when emergency releases
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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 |
---|---|---|
|
@@ -40,7 +40,7 @@ public boolean shouldPause(Context context, Commands commands, GitHub quarkusBot | |
comment.append(Admonitions.warning("**This is the `.0` release so we update the Platform first then wait one week for the Platform members to contribute their updates then we release. Make sure you follow the instructions closely.**") + "\n\n"); | ||
} | ||
|
||
if (releaseInformation.isLtsMaintenanceReleaseWithRegularReleaseCadence()) { | ||
if (releaseInformation.isLtsMaintenanceReleaseWithRegularReleaseCadence() && !releaseInformation.isEmergency()) { | ||
comment.append(Admonitions.warning( | ||
"**This is a maintenance release for a LTS version with regular release cadence so we update the Platform first then wait one week for the Platform members to potentially contribute compatibility fixes then we release. Make sure you follow the instructions closely.**") | ||
+ "\n\n"); | ||
|
@@ -117,7 +117,7 @@ public boolean shouldPause(Context context, Commands commands, GitHub quarkusBot | |
comment.append("* If CI failed for some Platform members, please contact them so that they are aware of the issues\n\n"); | ||
comment.append(Admonitions.warning("**IMPORTANT - STOP HERE**\n**IMPORTANT - Wait a week before continuing with the Platform release**") + "\n\n"); | ||
} | ||
if (releaseInformation.isLtsMaintenanceReleaseWithRegularReleaseCadence()) { | ||
if (releaseInformation.isLtsMaintenanceReleaseWithRegularReleaseCadence() && !releaseInformation.isEmergency()) { | ||
comment.append("* Send an email to the Platform coordination mailing list: [[email protected]](mailto:[email protected]) :\n\n"); | ||
comment.append("Subject:\n"); | ||
comment.append("```\n"); | ||
|