Skip to content

Commit 8b238aa

Browse files
authored
💎 Bump Version to 8.3.2
* Automating release using Escape and circleci * Fixes an issue that causes release builds to fail on Windows
1 parent e3c3b41 commit 8b238aa

File tree

6 files changed

+66
-3
lines changed

6 files changed

+66
-3
lines changed

.circleci/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2
2+
jobs:
3+
publish:
4+
macos:
5+
xcode: "10.1.0"
6+
steps:
7+
- checkout
8+
- run: git clone https://InstabugCI:[email protected]/Instabug/Escape.git
9+
- run: cd Escape; swift build -c release -Xswiftc -static-stdlib
10+
- run: cd Escape/.build/release; cp -f Escape /usr/local/bin/escape
11+
- run: Escape react-native publish
12+
13+
workflows:
14+
version: 2
15+
publish:
16+
jobs:
17+
- hold:
18+
type: approval
19+
filters:
20+
branches:
21+
only: master
22+
- publish:
23+
requires:
24+
- hold
25+
filters:
26+
branches:
27+
only: master

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## v8.3.2 (2019-05-23)
2+
3+
* Fixes an issue that causes release builds to fail on Windows
4+
5+
## v8.3.1 (2019-05-11)
6+
7+
* Hotfix captureJsErrors
8+
9+
10+
## v8.3.0 (2019-05-11)
11+
12+
* Update native android and iOS versions to 8.3.0.
13+
* Fixes Network logging crashes and immutability
14+
* Added new OnReportSubmitHandler API
15+
* Fixed linking script
16+
* Api Name Changes

InstabugSample/android/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ allprojects {
2929
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
3030
url "$rootDir/../node_modules/react-native/android"
3131
}
32+
maven {
33+
url "https://sdks.instabug.com/nexus/repository/instabug-cp"
34+
}
3235
}
3336
}
3437

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,16 @@ protected List<ReactPackage> getPackages() {
116116
```
117117
You can find your app token by selecting the SDK tab from your [**Instabug dashboard**](https://dashboard.instabug.com/app/sdk/).
118118
119+
4. Make sure the following snippet is added to your project level `build.gradle`. This should be added automatically upon linking. If not, you can add it manually.
120+
```dart
121+
allprojects {
122+
repositories {
123+
maven {
124+
url "https://sdks.instabug.com/nexus/repository/instabug-cp"
125+
}
126+
}
127+
}
128+
```
119129
## Upgrade Guide
120130
121131
### Upgrading from 1.x.x

android/build.gradle

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,16 @@ dependencies {
3232
}
3333
}
3434

35+
36+
import org.apache.tools.ant.taskdefs.condition.Os
3537
task upload_sourcemap(type: Exec) {
36-
environment "INSTABUG_APP_TOKEN", "YOUR_APP_TOKEN"
37-
commandLine 'sh', './upload_sourcemap.sh'
38+
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
39+
commandLine 'echo', 'Automatic upload of sourcemap files is currently not available on Windows. Please generate the sourcemap files and upload them to the dashboard manually. For more information see https://docs.instabug.com/docs/react-native-symbolication-obfuscation'
40+
project.logger.lifecycle('Automatic Upload of sourcemap files is currently not available on windows, please generate the sourcemapfiles and upload them to the dashboard')
41+
} else {
42+
environment "INSTABUG_APP_TOKEN", "YOUR_APP_TOKEN"
43+
commandLine 'sh', './upload_sourcemap.sh'
44+
}
3845
}
3946

4047
tasks.whenTaskAdded { task ->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "instabug-reactnative",
3-
"version": "8.3.1",
3+
"version": "8.3.2",
44
"description": "React Native plugin for integrating the Instabug SDK",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)