Skip to content

Commit 35cee3f

Browse files
dazinatorarturcic
authored andcommitted
Update azure-devops
Added azure devops yaml usage to docs
1 parent c172e8f commit 35cee3f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/build-server-support/build-server/azure-devops

+12
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ If you want the GitVersionTask to update AssemblyInfo files, check the box in th
3838

3939
The Azure DevOps Pipeline build step can update your build number with GitVersion variables. See below for details.
4040

41+
#### Using Pipelines yaml
42+
43+
Add the following yaml task to your `azure-pipelines.yml` file:
44+
45+
```yml
46+
steps:
47+
- task: gittools.gitversion.gitversion-task.GitVersion@5
48+
displayName: gitversion
49+
inputs:
50+
useConfigFile: true
51+
configFilePath: GitVersion.yml
52+
```
4153

4254
## Running inside TFS
4355
### Using the GitVersion Variables

0 commit comments

Comments
 (0)