You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples/azure/gitversion/execute/usage-examples.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,13 @@ Find out how to use the **gitversion/execute** task using the examples below.
4
4
5
5
> The examples use the latest _0.x_ version of the GitVersion Execute task. It is recommended to use the latest released version in your own pipelines.
6
6
7
+
Note that if the pipeline is setup to use a shallow git fetch mode the GitVersion Execute task will fail. It is required to use fetchDepth of 0 like so:
8
+
9
+
```yaml
10
+
- checkout: self
11
+
fetchDepth: 1
12
+
```
13
+
7
14
## Inputs
8
15
9
16
The Execute GitVersion task accepts the following inputs:
0 commit comments