Skip to content

Commit

Permalink
update readme format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbaumann committed Feb 3, 2018
1 parent dd3d4ea commit bcae789
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <version>
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 <version>`
* `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-*`

0 comments on commit bcae789

Please sign in to comment.