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. Push the version update to the master branch.

  4. Verify that the buildbots are still green.

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

  6. 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
  7. Update the Docker image to use the latest releases for worker and library. Example PR: https://github.com/Azure/azure-functions-docker/pull/98.

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

  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