Skip to content

Commit

Permalink
Merge pull request #203 from gsmet/emergency
Browse files Browse the repository at this point in the history
Avoid Platform release steps when emergency releases
  • Loading branch information
gsmet authored Feb 27, 2025
2 parents 96c8812 + bd416dd commit c4d35e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit c4d35e0

Please sign in to comment.