[skip ci] Add specifics about how we interpret semver

This commit is contained in:
Patrick Niklaus 2016-05-03 23:36:14 +02:00
parent d8acf76f2d
commit c7303be33b
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -1,9 +1,32 @@
# Releasing a new OSRM version # Releasing a new OSRM version
## Major or Minor release x.y
Do decide if this is a major or minor version bump use: http://semver.org/ Do decide if this is a major or minor version bump use: http://semver.org/
What we guarantee on major version changes:
- Breaking changes will be in the changelog
- If we break an HTTP API we bump the version
What we guarantee on minor version changes:
- HTTP API does not include breaking changes
- C++ library API does not include breaking changes
- node-osrm API does not include breaking changes
What we DO NOT guarantee on minor version changes:
- file format comp ability. Breakage will be listed in the changelog.
- new turn types and fields may be introduced. How to handle this see [the HTTP API docs](http.md).
What we guarantee on patch version changes:
- HTTP API does not include breaking changes
- C++ library API does not include breaking changes
- node-osrm API does not include breaking changes
- full file format compatibility
## Major or Minor release x.y
1. Make sure all tests are passing (e.g. Travis CI gives you a :thumbs_up:) 1. Make sure all tests are passing (e.g. Travis CI gives you a :thumbs_up:)
2. Make sure `CHANGELOG.md` is up to date. 2. Make sure `CHANGELOG.md` is up to date.
3. Make sure the OSRM version in `CMakeLists.txt` is up to date 3. Make sure the OSRM version in `CMakeLists.txt` is up to date