Skip to content

Commit

Permalink
Fix bug in automation script
Browse files Browse the repository at this point in the history
  • Loading branch information
praveek committed Jun 22, 2024
1 parent 9cfd743 commit d697a80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/scripts/release_notes/SDKReleaseInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit d697a80

Please sign in to comment.