Skip to content

Release Instructions

Maheer Iqbal edited this page Jun 12, 2019 · 45 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. 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 in azure-pipelines.yml.

  4. Push the version and host binary updates to the master branch.

  5. Verify that the buildbots are still green.

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

  7. 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:

    $ pip install twine
  8. Update the Docker image to use the latest releases for worker and library. Example PR: https://github.com/Azure/azure-functions-docker/pull/98.

  9. NuGet release from Azure DevOps to push the latest Python worker run environments to MyGet.

  10. Update the Core-Tools. Example PR: https://github.com/Azure/azure-functions-core-tools/pull/1223

    • Modify .csproj to use the latest Python worker run environments nuget package.
    • Modify the PythonWorkerPackages constant to reflect the latest version in pip.
Clone this wiki locally