Skip to content

Release Instructions

Hanzhang Zeng (Roger) edited this page Dec 10, 2019 · 32 revisions

Release Instructions

Please follow these steps in order to make a release:

  1. Ensure that buildbots in the dev branch are green.

  2. Increase the version field in setup.py.

  3. Make a TestPyPI release from the dev branch:

    $ rm dist/*
    $ python setup.py sdist bdist_wheel
    $ twine upload --repository-url https://test.pypi.org/legacy/ dist/*

    Twine is a PyPI upload tool that can be installed with pip

    Wheel is used for generating bdist_wheel on packaging

    $ pip install twine wheel

    You may need to setup ~/.pypirc file for your test.pypi credentials. (Instruction Here)

  4. Change the azure-functions version in the worker repo and create a PR to the worker dev branch (e.g. Sample PR)

  5. Ensure that buildbots are green for step 4 (tests are currently coupled between the worker and library repos)

  6. Push the version update to the master branch.

  7. Verify that the buildbots are still green.

  8. Create a git tag corresponding to the new version and push it.

  9. Make a PyPI release:

    $ rm dist/*
    $ python setup.py sdist bdist_wheel
    $ twine upload dist/*
Clone this wiki locally