|
1 | | -# azuredevops-unify-release |
| 1 | + |
| 2 | +# Azure Devops Unify Release Task |
2 | 3 |
|
3 | 4 |
|
4 | 5 | ### Develop Branch: |
5 | 6 | [](https://dev.azure.com/padasil/AzureDevOps%20-%20Unify%20Release/_build/latest?definitionId=9) |
6 | 7 |  |
7 | 8 |  |
| 9 | + |
| 10 | +Unify Relase is a simple build task for Azure DevOps to enable two or more builds from the same source code to trigger a single Release. |
| 11 | + |
| 12 | +By default if you have a release that get triggered by two different builds, this release will be run for each time one of this builds are completed |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +With the unify release task, you are able to control the releases in a way that two builds triggered from the same source version can generate only one release. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +This scenario is common especially with Mono Repository approach, where you need to make changes in two different applications that must go live in the same release. |
| 21 | + |
| 22 | +## How does it works |
| 23 | +1. The Unify release tasks when executed from a Build pipeline, checks the other builds triggered from the same source version. |
| 24 | + |
| 25 | +2. If no builds are pending it will create a build tag that you can use to filter in your release pipeline. |
| 26 | + |
| 27 | +3. If there's a build pending, it will not create the build tag, so your release pipeline (with the build tag filter enable) will not be triggered. |
| 28 | + |
| 29 | +In this way, only the last build to finish will create the build tag and the pipeline will be run. |
| 30 | + |
| 31 | +## How to Use It |
| 32 | + |
| 33 | +1. Install the Unify Release Task from the Azure DevOps Marketplace. |
| 34 | + |
| 35 | +2. Put the Unify release task in your build pipelines as the last task to be executed. |
| 36 | + |
| 37 | +4. In your Release Artifacts, put a Build Tag filter for the build tag you configured on the Unify Release Task (default to create_release). |
| 38 | + |
| 39 | + |
| 40 | +## Task Options |
| 41 | + |
| 42 | +|Parameter |Description | Default Value | |
| 43 | +|---|---|---|---|---| |
| 44 | +| a | b| c | d | |
| 45 | +| a | b| c | d | |
| 46 | +| a | b| c | d | |
| 47 | +| a | b| c | d | |
| 48 | +| a | b| c | d | |
0 commit comments