Creating a release definition
Now that we know how to create a build definition and trigger an automated build in Azure DevOps pipelines, our next step is to release or deploy the package to an environment where the project stakeholders can review it and provide feedback. In order to do that, we need to create a release definition in the same way that we created the build definitions.
Getting ready
Before working on this recipe, please make sure you have created the build definition and also ensure that you have run it successfully at least once.
How to do it…
To release and deploy the package to an environment, we'll perform the following steps:
- Navigate to the Releases tab, as shown in Figure 12.26, and click on the New pipeline button:
Figure 12.26: Azure DevOps—release pipelines—New Pipeline
- The next step is to choose a release definition template. In the Select a template pop-up window, select Deploy the function app to Azure Functions...