Skip to content

Commit 712eb13

Browse files
authored
Merge pull request #188 from Instabug/fix/release-workflow
[MOB-5593] Update CI Pipeline
2 parents 5a1d5b6 + 53d4624 commit 712eb13

File tree

3 files changed

+27
-13
lines changed

3 files changed

+27
-13
lines changed

.circleci/config.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- run: flutter test --coverage
7272
- run: bash <(curl -s https://codecov.io/bash)
7373
- run: dartanalyzer --options analysis_options.yaml --fatal-warnings lib
74+
- run: flutter pub publish --dry-run
7475

7576
ios_tests:
7677
macos:
@@ -102,15 +103,15 @@ jobs:
102103
name: Build and run tests
103104
command: cd ios && xcodebuild -allowProvisioningUpdates -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max,OS=14.3' test | xcpretty
104105

105-
release:
106+
pub_release:
106107
docker:
107108
- image: cirrusci/flutter
108109
steps:
109110
- checkout
110111
- run: chmod +x ./release.sh
111112
- run: ./release.sh
112113

113-
publish:
114+
gh_ibg_release:
114115
macos:
115116
xcode: "10.1.0"
116117
working_directory: "~"
@@ -126,11 +127,10 @@ workflows:
126127
version: 2
127128
build-test-and-approval-deploy:
128129
jobs:
129-
- flutter_tests:
130-
context: cross-platform
130+
- flutter_tests
131131
- android_tests
132132
- ios_tests
133-
- hold:
133+
- hold_pub_release:
134134
type: approval
135135
requires:
136136
- flutter_tests
@@ -139,17 +139,24 @@ workflows:
139139
filters:
140140
branches:
141141
only: master
142-
- release:
143-
context: cross-platform
142+
- pub_release:
144143
requires:
145-
- hold
144+
- hold_pub_release
146145
filters:
147146
branches:
148147
only: master
149-
- publish:
150-
context: cross-platform
148+
- hold_gh_ibg_release:
149+
type: approval
150+
requires:
151+
- flutter_tests
152+
- android_tests
153+
- ios_tests
154+
filters:
155+
branches:
156+
only: master
157+
- gh_ibg_release:
151158
requires:
152-
- release
159+
- hold_gh_ibg_release
153160
filters:
154161
branches:
155162
only: master

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v9.2.0 (2021-08-02)
2+
3+
* Adds null safety support.
4+
* Fixes a crash when Instabug.start API is called on Android without Platform check.
5+
* Changes all `void ... async` methods to `Future<void> ... async` so that callers can use `await`.
6+
17
## v9.2.0-nullsafety.0 (2021-07-14)
28

39
* Adds null safety support.

pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: instabug_flutter
2-
version: 9.2.0-nullsafety.0
2+
version: 9.2.0
33
description: >-
44
Deliver the best user experience through a comprehensive platform that will
55
help you uncover, analyze and fix any app performance, quality or stability issues.
@@ -9,6 +9,7 @@ documentation: https://github.com/Instabug/Instabug-Flutter#readme
99
dependencies:
1010
flutter:
1111
sdk: flutter
12+
meta: ^1.3.0
1213
stack_trace: ^1.10.0
1314

1415
dev_dependencies:
@@ -28,4 +29,4 @@ flutter:
2829

2930
environment:
3031
sdk: ">=2.12.0 <3.0.0"
31-
flutter: ">=1.17.0 <3.0.0"
32+
flutter: ">=1.17.0"

0 commit comments

Comments
 (0)