-
Couldn't load subscription status.
- Fork 107
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.pyto 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 (e.g. 1.1.2) 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
-
Release the NuGet artifact to MyGet
- Push a new branch with the name
release/2.0.xxxxxandrelease/3.0.xxxxxin the repository. - Wait for the build success
-
Azure DevOps -> Releases ->
release/x.x.xxxxxbranch -> Publish Worker Environment NuGet -> Deploy
- Push a new branch with the name
-
Update Python Worker artifact version in Azure Functions Host
- For v2 release: in branch v2.x, build/python.props and test/WebJobs.Script.Tests/WebJobs.Script.Tests.csproj
- For v3 release: in branch dev, build/python.props and test/WebJobs.Script.Tests/WebJobs.Script.Tests.csproj
-
Update Python Worker artifact version in Azure Functions Core Tools
- For v2 release: in branch dev, src/Azure.Functions.Cli/Azure.Functions.Cli.csproj
- For v3 release: in branch v3.x, src/Azure.Functions.Cli/Azure.Functions.Cli.csproj
- 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
- Push a
release/2.x.xxxxxandrelease/3.x.xxxxxbranches in repository - Update the artifact version in Azure Functions Host
- Update the artifact version in Azure Functions Core Tools