diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 000000000..2fb3ffff1 --- /dev/null +++ b/RELEASE.md @@ -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. \ No newline at end of file diff --git a/mapbox_gl_platform_interface/pubspec.yaml b/mapbox_gl_platform_interface/pubspec.yaml index 5b78d3a4a..91eafe87b 100644 --- a/mapbox_gl_platform_interface/pubspec.yaml +++ b/mapbox_gl_platform_interface/pubspec.yaml @@ -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: @@ -10,4 +10,4 @@ dependencies: environment: sdk: ">=2.1.0 <3.0.0" - flutter: ">=1.10.0 <2.0.0" + flutter: ">=1.10.0" diff --git a/mapbox_gl_web/pubspec.yaml b/mapbox_gl_web/pubspec.yaml index b6d63dad7..fa7350ac5 100644 --- a/mapbox_gl_web/pubspec.yaml +++ b/mapbox_gl_web/pubspec.yaml @@ -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: @@ -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" diff --git a/pubspec.yaml b/pubspec.yaml index 679724b64..d7b7ddf11 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: @@ -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"