Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93cb773

Browse files
a7medevHeshamMegid
authored andcommitted
[MOB-12247] Fix Sourcemaps Script with Old Gradle (#970)
* Fix sourcemaps script with old Gradle * Update CHANGELOG * Update CHANGELOG
1 parent a9c47e2 commit 93cb773

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [Unreleased](https://github.com/Instabug/Instabug-React-Native/compare/v11.10.0...dev)
4+
5+
### Fixed
6+
7+
- Fix an issue with the Android sourcemaps upload script, causing the build to fail on older versions of Gradle ([#970](https://github.com/Instabug/Instabug-React-Native/pull/970)), closes [#969](https://github.com/Instabug/Instabug-React-Native/issues/969).
8+
39
## [11.10.0](https://github.com/Instabug/Instabug-React-Native/compare/v11.9.1...11.10.0) (April 20, 2023)
410

511
### Added

android/sourcemaps.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def appProject = project(":app")
55
gradle.projectsEvaluated {
66
// Works for both `bundleReleaseJsAndAssets` and `createBundleReleaseJsAndAssets`
77
def bundleTask = appProject.tasks.find {
8-
task -> task.name.endsWithIgnoreCase('bundleReleaseJsAndAssets')
8+
task -> task.name.toLowerCase().endsWith('bundlereleasejsandassets')
99
}
1010

1111
bundleTask.finalizedBy uploadSourcemaps

0 commit comments

Comments
 (0)