Instabug / Instabug-React-Native

In-app feedback and bug reporting tool for React Native
https://instabug.com/platforms/react-native
MIT License
308 stars 100 forks source link

ci: fix and refactor enterprise release pipeline #1187

Closed a7medev closed 3 months ago

a7medev commented 3 months ago

Description of the change

  1. Change the find and replace logic in CI code to use a JavaScript script instead of sed to avoid issues with escaping special characters.
  2. Refactor NN and Injazat's release to use the same job but with different parameters instead of different jobs.
  3. 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.
  4. 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

Related issues

Issue links go here

Checklists

Development

Code review

InstabugCI commented 3 months ago

Coverage Report

Label Coverage Status
JavaScript 96.3%
Android 47.9%
iOS 41.7%

Generated by :no_entry_sign: dangerJS against 968df531b933f6bb074ac014af650eec96c282f0