Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Demote nightly release notification heading to H3

Manav Rathi065547545f3c
diff --git a/.github/scripts/release-notify.mjs b/.github/scripts/release-notify.mjs
index 172554a672..4811772dc7 100644
--- a/.github/scripts/release-notify.mjs
+++ b/.github/scripts/release-notify.mjs
@@ -70,7 +70,8 @@ if (config.testFlightId) {
downloadLinks.push(`[GitHub Release](${releaseUrl})`);
const downloadLine = `-# Download: ${downloadLinks.join(" | ")}`;
-const components = [{ type: 10, content: `## ${releaseTitle}` }];
+const heading = releaseTag.endsWith("-rc") ? "##" : "###";
+const components = [{ type: 10, content: `${heading} ${releaseTitle}` }];
if (releaseBodyDiscord) {
components.push({ type: 10, content: releaseBodyDiscord });
}