Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 1.05 KB

RELEASE.md

File metadata and controls

27 lines (26 loc) · 1.05 KB

Release process

  1. Bump version number in setup.py
  2. If schema was modified, re-generate schema/README.md using jsonschema2md
    git clone https://github.com/adobe/jsonschema2md.git
    cd jsonschema2md
    npm link
    cd ..
    jsonschema2md -d ./tools/python/boutiques/schema/descriptor.schema.json
    cp out/descriptor.schema.md schema/README.md
    
  3. If the README.md at the root of this repository was updated, update tools/python/README.rst using pandoc
    cp tools/python/README.rst tools/python/README_old.rst
    pandoc --from=markdown --to=rst --output=tools/python/README.rst README.md
    # Manually, you may need to replace the links near the top with the badges as specified in the top of the README_old.rst file
    # Once this is done, remove the old copy.
    # rm tools/python/README_old.rst
    
  4. Merge develop in master
  5. Create tag on GitHub, add release notes
  6. Push to PyPi:
    python setup.py bdist_wheel --universal`
    twine upload dist/*