Skip to content

Commit

Permalink
enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyansong-adbe committed Sep 28, 2023
1 parent 9446966 commit 4cdee87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/scripts/release_notes/update-release-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ async function updateReleaseNotesPage(filePath, releaseInfoArray) {
}
let contentIsChanged = false
for (const releaseInfo of releaseInfoArray) {
console.log("Updating release notes with:", releaseInfo)
let title = generateReleaseTitle(releaseInfo.platform, releaseInfo.extension, releaseInfo.version)
let titleLine = `### ${title}`
if (hasLineStartWith(titleLine, contentLines)) {
Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/release_notes/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ function isEarlierThanXHours(hours, timestampInMilliseconds) {
}

function extractReleaseNotes(releaseText) {
if (!releaseText) {
return []
}
const lines = releaseText.split('\n');
let start = -1
let end = lines.length
Expand Down
2 changes: 1 addition & 1 deletion src/pages/documentation/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Keywords:

## September 26, 2023

### Android BOM 2.4.1
### Android BOM 2.4.1

* This BOM ([Bill of Materials](https://central.sonatype.com/artifact/com.adobe.marketing.mobile/sdk-bom)) release includes changes to the following Android extensions.

Expand Down

0 comments on commit 4cdee87

Please sign in to comment.