From d697a802f9f775c1c12b98bbea8a49ae0f28a558 Mon Sep 17 00:00:00 2001 From: praveek Date: Fri, 21 Jun 2024 17:19:45 -0700 Subject: [PATCH] Fix bug in automation script --- .github/scripts/release_notes/SDKReleaseInfo.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/scripts/release_notes/SDKReleaseInfo.js b/.github/scripts/release_notes/SDKReleaseInfo.js index 09cb1c11ad..0d52959b66 100644 --- a/.github/scripts/release_notes/SDKReleaseInfo.js +++ b/.github/scripts/release_notes/SDKReleaseInfo.js @@ -82,7 +82,7 @@ function convertToSDKReleaseInfo(releaseInfo) { case isIOSRelease(repoName): return new SDKReleaseInfo(releaseInfo, PLATFORM_ENUM.IOS, extractIOSExtensionName(repoName), tagName) case isAndroidRelease(repoName): - if (isAndroidCoreRelease(repoName)) { + if (isAndroidCoreRelease(repoName) || isAndroidUIRelease(repoName)) { // Example: https://github.com/adobe/aepsdk-core-android/releases/tag/v3.0.0-signal let array3 = tagName.split('-') verifyArray(array3, 2) @@ -166,6 +166,10 @@ function isAndroidCoreRelease(repoName) { return repoName === "aepsdk-core-android" } +function isAndroidUIRelease(repoName) { + return repoName === "aepsdk-ui-android" +} + /** * Standardizes the extension name with the correct format. *