Change the find and replace logic in CI code to use a JavaScript script instead of sed to avoid issues with escaping special characters.
Refactor NN and Injazat's release to use the same job but with different parameters instead of different jobs.
Fix NN, Injazat, and Dream11's packages sourcemaps upload script, the ios/sourcemaps.sh and android/sourcemaps.gradle scripts referred to instabug-reactnative to invoke the upload CLI in the past so we fixed the release pipelines to replace all occurrences of instabug-reactnative with the new package name in these files as well.
Replace the API URL used to upload SO files in the CLI to refer to the API URL of the customer instead of the default Instabug API.
I tested the new release_custom_package and release_d11 CI jobs on the test-only @instabug/react-native-private to make sure things are working fine.
Type of change
[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Related issues
Issue links go here
Checklists
Development
[ ] Lint rules pass locally
[ ] The code changed/added as part of this pull request has been covered with tests
Code review
[ ] This pull request has a descriptive title and information useful to a reviewer
[ ] Issue from task tracker has a link to this pull request
Description of the change
sed
to avoid issues with escaping special characters.ios/sourcemaps.sh
andandroid/sourcemaps.gradle
scripts referred toinstabug-reactnative
to invoke the upload CLI in the past so we fixed the release pipelines to replace all occurrences ofinstabug-reactnative
with the new package name in these files as well.I tested the new
release_custom_package
andrelease_d11
CI jobs on the test-only@instabug/react-native-private
to make sure things are working fine.Type of change
Related issues
Checklists
Development
Code review