Commit f042d3cb authored by S Anand's avatar S Anand

DOC: Restore release documentation

parent b9346520
Pipeline #32469 passed with stage
in 1 minute and 10 seconds
......@@ -616,3 +616,36 @@ Example:
function: "lambda v: _color.gradient(v['C'] / v['D'] - 1, _color.RdYlGn)"
function: "lambda v: 'Num %d' % v['index']"
# Development
To set up the development environment, clone this repo. Then run:
pip uninstall pptgen
pip install -e .
Create a branch for local development using `git checkout -b <branch>`.
Test your changes by running `make clean tests`.
Commit your branch and send a merge request.
## Release
When releasing a new version of pptgen:
1. Check [build errors](
2. Run `make clean tests` on Python 2.7 and on 3.x
3. Update version number in `pptgen/release.json`
4. Push `dev` branch to the server. Ensure that there are no build errors.
5. Merge with master, create an annotated tag and push the code:
git checkout master
git merge dev
git tag -a v1.x.x # Annotate with a one-line summary of features
git push --follow-tags
git checkout dev # Switch back to dev
6. Release to PyPi
python sdist bdist_wheel --universal
twine upload dist/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment