diff --git a/README.md b/README.md index e00c558..06a4a5e 100644 --- a/README.md +++ b/README.md @@ -106,25 +106,16 @@ curious about the direction of the project, check out `ROADMAP.md`. # Release process - After merging all relevant PRs for the upcoming release, pull the master branch - git checkout master - git pull - - + * `git checkout master` + * `git pull` - Update the version number in `mapboxgl/__init__.py` and push directly to master. - - - Tag the release - git tag - git push --tags - - -- Setup for pypi (one time only) - You'll need to `pip install twine` and set up your credentials in a `[~/.pypirc](https://docs.python.org/2/distutils/packageindex.html#pypirc)` [file](https://docs.python.org/2/distutils/packageindex.html#pypirc). - - + * `git tag ` + * `git push --tags` +- Setup for pypi (one time only) + * You'll need to `pip install twine` and set up your credentials in a [~/.pypirc](https://docs.python.org/2/distutils/packageindex.html#pypirc) [file](https://docs.python.org/2/distutils/packageindex.html#pypirc). - Create the release files - rm dist/* # clean out old releases if they exist - python setup.py sdist bdist_wheel - - + * `rm dist/*` # clean out old releases if they exist + * `python setup.py sdist bdist_wheel` - Upload the release files - twine upload dist/mapboxgl-* + * `twine upload dist/mapboxgl-*`