Skip to content

Commit

Permalink
Update the support React Native versions (#476)
Browse files Browse the repository at this point in the history
* Create release-pr.yml

* no message

* Update update-release-notes.js

* Update release-pr.yml

* no message

* Update release-pr.yml

* Update release-pr.yml

* clean up BOM scripts

* add the license header

* cleanup

* Update update-release-notes.js

* address review comments

* address review comments

* merge BOM release notes to the existing section when the release date exists

* make time range configurable

* Update release-pr.yml

* enable debug logging

* Update release-pr.yml

* Update release-pr.yml

* Update release-pr.yml

* Update release-pr.yml

* Update release-pr.yml

* tmp

* fix doc format

* tmp 2

* tmp

* cleanup

* Update release-pr.yml

* bug fix

* replace var with let

* clean up

* enhancement

* rename the ci step

* bug fix; enable messaging/campaign/campaign classic extensions

* address review comments

* cleanup

* address review comments

* Update timestamp.json

* Update timestamp.json

* Update release-pr.yml

* Update release-notes.md

* Update current-sdk-versions.md

* remove the empty line for the collected release notes

* bug fix: end line is not collected correctly

---------

Co-authored-by: Praveen <[email protected]>
Co-authored-by: Swarna Saraf <[email protected]>
  • Loading branch information
3 people authored Jan 20, 2024
1 parent 1a16073 commit 2f645f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/release_notes/update-release-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ function extractBOMTableContent(releaseNote) {

function generateReleaseNoteSection(IOSDateString, platform, extension, version, releaseNote) {
let array = extractReleaseNotes(releaseNote)
// remove the empty lines
array = array.filter(line => line.trim() != '')
let releaseNoteSection = releaseNoteTemplateGenerator({
date: convertIOSDateToRleaseDateFormat(IOSDateString),
title: `${platform} ${extension} ${version}`,
Expand Down
5 changes: 3 additions & 2 deletions .github/scripts/release_notes/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ function extractReleaseNotes(releaseText) {

for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (line.startsWith('##') && line.toLowerCase().includes('release notes')) {
if (start < 0 && line.startsWith('##') && line.toLowerCase().includes('release notes')) {
start = i + 1
}
if (start >= 0 && line.startsWith('##')) {
if (start >= 0 && start != i + 1 && line.startsWith('##')) {
end = i
break
}
}

Expand Down
6 changes: 5 additions & 1 deletion src/pages/home/current-sdk-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ The Android BOM (Bill of Materials) artifact has been released to Maven Central.

## React Native

Adobe Experience Platform Mobile SDK plugin for React Native supports React Native **version 0.60.0 or later**. For the latest installation instructions, see the README file in the [`aepsdk-react-native`](https://github.com/adobe/aepsdk-react-native#installation) repository.
Adobe Experience Platform Mobile SDK plugin for React Native supports React Native **version (0.60.0 - 0.72.x)**. For the latest installation instructions, see the README file in the [`aepsdk-react-native`](https://github.com/adobe/aepsdk-react-native#installation) repository.

<InlineAlert variant="info" slots="text"/>

React Native 0.7x introduced support for a new architecture. We don't yet support the new architecture.

<InlineAlert variant="info" slots="text"/>

Expand Down

0 comments on commit 2f645f0

Please sign in to comment.