-
Notifications
You must be signed in to change notification settings - Fork 68
Release Instructions
Maheer Iqbal edited this page Nov 20, 2019
·
32 revisions
Please follow these steps in order to make a release:
-
Ensure that buildbots in the dev branch are green.
-
Increase the version field in
setup.py
. -
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:
$ pip install twine
-
Change the
azure-functions
version in the worker repo and create a PR to the worker dev branch (e.g. Sample PR) -
Ensure that buildbots are green for step 4 (tests are currently coupled between the worker and library repo)
-
Push the version update to the master branch.
-
Verify that the buildbots are still green.
-
Create a git tag corresponding to the new version and push it.
-
Make a PyPI release:
$ rm dist/* $ python setup.py sdist bdist_wheel $ twine upload dist/*