-
Notifications
You must be signed in to change notification settings - Fork 106
Release Instructions
Python Library -> Python Worker -> Function Host -> Functions Docker -> Toolings
-
Ensure that buildbots in the dev branch are green.
-
Increase the version field in
setup.py
. -
Update
setup.py
to include latest host binaries when available for the current sprint (https://github.com/Azure/azure-functions-host/releases) and, if needed, update corresponding dotnet version inazure-pipelines.yml
. -
Push the version and host binary updates to the master branch.
-
Verify that the buildbots are still green.
-
Create a git tag on the master branch with the GitHub release note and correspond it to the new version.
-
Make a PyPI release:
$ rm dist/* $ python setup.py sdist bdist_wheel $ twine upload 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
-
NuGet release from Azure DevOps to push the latest Python worker to MyGet.
- Go to Azure DevOps -> Release -> Latest Master Build -> Deploy (Push to MyGet)
-
Update the Function Host.
-
Update the Docker Image.
-
Update the Core-Tools.
- Update the version field in setup.py
- Update the packages field in setup.py if you're including a new module
- Inspect the build pipeline artifact and make sure everything you want is in there
- Tag the master branch
- Make a release note on GitHub