- Create a new branch.
- Update the internal and marketing version:
agvtool next-version -all && agvtool new-marketing-version $VERSION_NUMBER
. - Update
*.podspec
to appropriate new version. - If this is a minor version, update versions in README.md and custom-navigation.md.
- In
CHANGELOG.md
, updatemaster
to the new version. - Create a new PR.
- Once the PR is merged, pull master locally.
- Create a new tag, example:
git tag v0.16.0
. - Do not push the tag quite yet.
- Follow directions for updating the documentation.
- Make sure these files are updated to the appropriate version:
- Push documentation changes. (These changes are pushed to the
mb-pages
branch) - Push the tag:
git push origin v0.16.1
.
- Go to https://github.com/mapbox/mapbox-navigation-ios/releases
- Click
Draft a new release
- In the
Tag version
dropdown, select the new tag you pushed. - Copy the changes from
CHANGELOG.md
. - Prepend the changes with:
[Changes](https://github.com/mapbox/mapbox-navigation-ios/compare/v0.16.0...v0.16.1) since [v0.16.0](https://github.com/mapbox/mapbox-navigation-ios/releases/tag/v0.16.0):
- Append the changes with
Documentation is [available online](https://www.mapbox.com/mapbox-navigation-ios/navigation/0.16.1) or within Xcode.
- Make sure you are using the appropriate version number
- Update pods:
pod repo update
- Push MapboxCoreNavigation:
pod trunk push MapboxCoreNavigation.podspec
- Update pods:
pod repo update
- Push MapboxNavigation:
pod trunk push MapboxNavigation.podspec
- Run
pod update
in the examples repository (and edit the Podfile if necessary) to install the latest version. - See this wiki page for information on updating Mapbox documentation.