Skip to content

Commit

Permalink
[release] update pubspec for v0.10.0 (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrun authored Feb 12, 2021
1 parent 3c542c4 commit e841d29
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 6 deletions.
36 changes: 36 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## Release

This document describes the steps needed to make a release:

For each supported library:
- `mapbox_gl_platform_interface`
- `mapbox_gl_web`
- `flutter-mapbox-gl`

Perform the following actions:
- Update `CHANGELOG.md` with the commits associated since previous release.
- Update library version in `pubspec.yaml`

Publish `mapbox_gl_platform_interface`, `mapbox_gl_web` and `flutter-mapbox-gl` after eachother with:
- `flutter pub publish`

Before publishgin in `mapbox_gl_web` update the version of the `mapbox_gl_platform_interface`
Repeat this action for `flutter-mapbox-gl` for both dependencies:

```
Replace:
mapbox_gl_platform_interface:
git:
url: https://github.com/tobrun/flutter-mapbox-gl.git
path: mapbox_gl_platform_interface
With:
mapbox_gl_platform_interface: ^0.10.0
Remove:
dependency_overrides:
mapbox_gl_platform_interface:
path: ../mapbox_gl_platform_interface
```

Before being able to publish `flutter-mapbox-gl`, you will have to PR and merge changelog changes.
4 changes: 2 additions & 2 deletions mapbox_gl_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mapbox_gl_platform_interface
description: A common platform interface for the mapbox_gl plugin.
version: 0.9.0
version: 0.10.0
homepage: https://github.com/tobrun/flutter-mapbox-gl

dependencies:
Expand All @@ -10,4 +10,4 @@ dependencies:

environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.10.0 <2.0.0"
flutter: ">=1.10.0"
4 changes: 2 additions & 2 deletions mapbox_gl_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mapbox_gl_web
description: Web platform implementation of mapbox_gl
version: 0.9.0
version: 0.10.0
homepage: https://github.com/tobrun/flutter-mapbox-gl

flutter:
Expand Down Expand Up @@ -33,4 +33,4 @@ dev_dependencies:

environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.12.13+hotfix.4 <2.0.0"
flutter: ">=1.12.13+hotfix.4"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mapbox_gl
description: A Flutter plugin for integrating Mapbox Maps inside a Flutter application on Android, iOS and web platfroms.
version: 0.9.0
version: 0.10.0
homepage: https://github.com/tobrun/flutter-mapbox-gl

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

0 comments on commit e841d29

Please sign in to comment.