-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
Check for shallow clone for GitVersion execute action/task
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ jobs: | |
|
||
steps: | ||
- checkout: self | ||
displayName: Checkout | ||
fetchDepth: '0' | ||
- pwsh: | | ||
npm install | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
In order for the gitversion to properly work you need to clone the repository with the entire history: | ||
|
||
```yaml | ||
# GitHub Actions syntax | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
``` | ||
```yaml | ||
# Azure DevOps syntax | ||
steps: | ||
- checkout: self | ||
displayName: Checkout | ||
fetchDepth: '0' | ||
``` |