From 2aaa58d509628108d4df94b397052f01d7b630ac Mon Sep 17 00:00:00 2001 From: Spoorthi Pujari <63024083+spoorthipujariadobe@users.noreply.github.com> Date: Thu, 20 Jun 2024 19:35:51 -0700 Subject: [PATCH 1/2] add aepsdk-ui-android to release note automation scripts --- .github/scripts/release_notes/SDKReleaseInfo.js | 2 ++ .github/scripts/release_notes/constants.js | 4 +++- .github/scripts/release_notes/index.js | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/scripts/release_notes/SDKReleaseInfo.js b/.github/scripts/release_notes/SDKReleaseInfo.js index 7c22cab291..b09956ea40 100644 --- a/.github/scripts/release_notes/SDKReleaseInfo.js +++ b/.github/scripts/release_notes/SDKReleaseInfo.js @@ -218,6 +218,8 @@ function standardizeExtensionName(extensionName) { return EXTENSION_ENUM.CAMPAIGN_STANDARD; case extensionName === "notificationcontent": return EXTENSION_ENUM.NOTIFICATION_CONTENT; + case extensionName === "ui": + return EXTENSION_ENUM.UI; default: throw Error("unsupported extension name : " + extensionName) } diff --git a/.github/scripts/release_notes/constants.js b/.github/scripts/release_notes/constants.js index a4e8d9ed64..733fcfbc95 100644 --- a/.github/scripts/release_notes/constants.js +++ b/.github/scripts/release_notes/constants.js @@ -50,6 +50,7 @@ const repoNames = [ "aepsdk-target-ios", "aepsdk-target-android", "aepsdk-notificationcontent-ios", + "aepsdk-ui-android", ] const EXTENSION_ENUM = Object.freeze({ @@ -75,7 +76,8 @@ const EXTENSION_ENUM = Object.freeze({ AUDIENCE: "Audience", CAMPAIGN_STANDARD: "Campaign Standard", CAMPAIGN_CLASSIC: "Campaign Classic", - NOTIFICATION_CONTENT: "Notification Content Extension" + NOTIFICATION_CONTENT: "Notification Content Extension", + UI: "UI" }) const PLATFORM_ENUM = Object.freeze({ diff --git a/.github/scripts/release_notes/index.js b/.github/scripts/release_notes/index.js index 54e72b2105..9d8bb330c8 100644 --- a/.github/scripts/release_notes/index.js +++ b/.github/scripts/release_notes/index.js @@ -47,7 +47,8 @@ console.log(`Start to fetch release info from GitHub created after [${convertToD if (releaseInfo.platform === PLATFORM_ENUM.ROKU || releaseInfo.extension === EXTENSION_ENUM.BOM || releaseInfo.extension === EXTENSION_ENUM.EDGE_BRIDGE || - releaseInfo.extension === EXTENSION_ENUM.NOTIFICATION_CONTENT) { + releaseInfo.extension === EXTENSION_ENUM.NOTIFICATION_CONTENT || + releaseInfo.extension === EXTENSION_ENUM.UI) { continue } From ac70996f69cbcfa897fe2c0a63994762e3454613 Mon Sep 17 00:00:00 2001 From: Spoorthi Pujari <63024083+spoorthipujariadobe@users.noreply.github.com> Date: Fri, 21 Jun 2024 16:31:05 -0700 Subject: [PATCH 2/2] change UI library release notes name --- .github/scripts/release_notes/SDKReleaseInfo.js | 4 ++-- .github/scripts/release_notes/constants.js | 2 +- .github/scripts/release_notes/index.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/release_notes/SDKReleaseInfo.js b/.github/scripts/release_notes/SDKReleaseInfo.js index b09956ea40..09cb1c11ad 100644 --- a/.github/scripts/release_notes/SDKReleaseInfo.js +++ b/.github/scripts/release_notes/SDKReleaseInfo.js @@ -218,8 +218,8 @@ function standardizeExtensionName(extensionName) { return EXTENSION_ENUM.CAMPAIGN_STANDARD; case extensionName === "notificationcontent": return EXTENSION_ENUM.NOTIFICATION_CONTENT; - case extensionName === "ui": - return EXTENSION_ENUM.UI; + case extensionName === "notificationbuilder": + return EXTENSION_ENUM.NOTIFICATION_BUILDER; default: throw Error("unsupported extension name : " + extensionName) } diff --git a/.github/scripts/release_notes/constants.js b/.github/scripts/release_notes/constants.js index 733fcfbc95..bc86ad7c39 100644 --- a/.github/scripts/release_notes/constants.js +++ b/.github/scripts/release_notes/constants.js @@ -77,7 +77,7 @@ const EXTENSION_ENUM = Object.freeze({ CAMPAIGN_STANDARD: "Campaign Standard", CAMPAIGN_CLASSIC: "Campaign Classic", NOTIFICATION_CONTENT: "Notification Content Extension", - UI: "UI" + NOTIFICATION_BUILDER: "Notification Builder" }) const PLATFORM_ENUM = Object.freeze({ diff --git a/.github/scripts/release_notes/index.js b/.github/scripts/release_notes/index.js index 9d8bb330c8..852261a229 100644 --- a/.github/scripts/release_notes/index.js +++ b/.github/scripts/release_notes/index.js @@ -48,7 +48,7 @@ console.log(`Start to fetch release info from GitHub created after [${convertToD releaseInfo.extension === EXTENSION_ENUM.BOM || releaseInfo.extension === EXTENSION_ENUM.EDGE_BRIDGE || releaseInfo.extension === EXTENSION_ENUM.NOTIFICATION_CONTENT || - releaseInfo.extension === EXTENSION_ENUM.UI) { + releaseInfo.extension === EXTENSION_ENUM.NOTIFICATION_BUILDER) { continue }