We publish mapzen.js using Github’s release process. When a commit is tagged as a release with a version number, a deploy script delivers a new version of mapzen.js (including npm package) and documentation. Mapzen.js follows SemVer versioning rules. Releases are made at authors' discretion. Please note that master
may be ahead of the latest release.
- Merge code and documentation changes into master branch
- Click "Draft a new release" on mapzen.js release page
- Tag version should use the following pattern:
release-vX.Y.Z
(ex.release-v0.3.0
) - Release title should be the version number:
vX.Y.Z
- Description should be a list of changes organized into “Enhancements”, “Bug Fixes”, or "Misc". Be thorough as this serves as our changelog. If you are updating the version number of an upstream project (especially Leaflet and Tangram), please include a link to the project's changelog.
- Click “Publish release” button.
Once a version has been released, CircleCI will kick off the deploy script. The script adds the new version of mapzen.js to our CDN, releases the npm package with new version number, and copies documents in the /docs folder to an S3 bucket so that it can be scraped by mapzen-docs-generator.