Skip to content

Commit e841d29

Browse files
authored
[release] update pubspec for v0.10.0 (#536)
1 parent 3c542c4 commit e841d29

File tree

4 files changed

+42
-6
lines changed

4 files changed

+42
-6
lines changed

RELEASE.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## Release
2+
3+
This document describes the steps needed to make a release:
4+
5+
For each supported library:
6+
- `mapbox_gl_platform_interface`
7+
- `mapbox_gl_web`
8+
- `flutter-mapbox-gl`
9+
10+
Perform the following actions:
11+
- Update `CHANGELOG.md` with the commits associated since previous release.
12+
- Update library version in `pubspec.yaml`
13+
14+
Publish `mapbox_gl_platform_interface`, `mapbox_gl_web` and `flutter-mapbox-gl` after eachother with:
15+
- `flutter pub publish`
16+
17+
Before publishgin in `mapbox_gl_web` update the version of the `mapbox_gl_platform_interface`
18+
Repeat this action for `flutter-mapbox-gl` for both dependencies:
19+
20+
```
21+
Replace:
22+
mapbox_gl_platform_interface:
23+
git:
24+
url: https://github.com/tobrun/flutter-mapbox-gl.git
25+
path: mapbox_gl_platform_interface
26+
27+
With:
28+
mapbox_gl_platform_interface: ^0.10.0
29+
30+
Remove:
31+
dependency_overrides:
32+
mapbox_gl_platform_interface:
33+
path: ../mapbox_gl_platform_interface
34+
```
35+
36+
Before being able to publish `flutter-mapbox-gl`, you will have to PR and merge changelog changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mapbox_gl_platform_interface
22
description: A common platform interface for the mapbox_gl plugin.
3-
version: 0.9.0
3+
version: 0.10.0
44
homepage: https://github.com/tobrun/flutter-mapbox-gl
55

66
dependencies:
@@ -10,4 +10,4 @@ dependencies:
1010

1111
environment:
1212
sdk: ">=2.1.0 <3.0.0"
13-
flutter: ">=1.10.0 <2.0.0"
13+
flutter: ">=1.10.0"

mapbox_gl_web/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mapbox_gl_web
22
description: Web platform implementation of mapbox_gl
3-
version: 0.9.0
3+
version: 0.10.0
44
homepage: https://github.com/tobrun/flutter-mapbox-gl
55

66
flutter:
@@ -33,4 +33,4 @@ dev_dependencies:
3333

3434
environment:
3535
sdk: ">=2.1.0 <3.0.0"
36-
flutter: ">=1.12.13+hotfix.4 <2.0.0"
36+
flutter: ">=1.12.13+hotfix.4"

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mapbox_gl
22
description: A Flutter plugin for integrating Mapbox Maps inside a Flutter application on Android, iOS and web platfroms.
3-
version: 0.9.0
3+
version: 0.10.0
44
homepage: https://github.com/tobrun/flutter-mapbox-gl
55

66
dependencies:
@@ -29,4 +29,4 @@ flutter:
2929
environment:
3030
sdk: ">=2.1.0 <3.0.0"
3131
# Flutter versions prior to 1.10 did not support the flutter.plugin.platforms map.
32-
flutter: ">=1.10.0 <2.0.0"
32+
flutter: ">=1.10.0"

0 commit comments

Comments
 (0)