Skip to content

Commit

Permalink
Merge pull request #625 from spoorthipujariadobe/main
Browse files Browse the repository at this point in the history
Add aepsdk-ui-android to release note automation scripts
  • Loading branch information
praveek authored Jun 22, 2024
2 parents 3c5575f + ac70996 commit 9cfd743
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/release_notes/SDKReleaseInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ function standardizeExtensionName(extensionName) {
return EXTENSION_ENUM.CAMPAIGN_STANDARD;
case extensionName === "notificationcontent":
return EXTENSION_ENUM.NOTIFICATION_CONTENT;
case extensionName === "notificationbuilder":
return EXTENSION_ENUM.NOTIFICATION_BUILDER;
default:
throw Error("unsupported extension name : " + extensionName)
}
Expand Down
4 changes: 3 additions & 1 deletion .github/scripts/release_notes/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const repoNames = [
"aepsdk-target-ios",
"aepsdk-target-android",
"aepsdk-notificationcontent-ios",
"aepsdk-ui-android",
]

const EXTENSION_ENUM = Object.freeze({
Expand All @@ -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",
NOTIFICATION_BUILDER: "Notification Builder"
})

const PLATFORM_ENUM = Object.freeze({
Expand Down
3 changes: 2 additions & 1 deletion .github/scripts/release_notes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.NOTIFICATION_BUILDER) {
continue
}

Expand Down

0 comments on commit 9cfd743

Please sign in to comment.