Skip to content

Commit

Permalink
fetch two
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Oct 3, 2024
1 parent f0f1222 commit cbf7c4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ stages:
RET: 'true'
steps:
- checkout: self
fetchDepth: '1'
# We only need two: the PR merge commit, and the actual commit added by the user
fetchDepth: '2'
- bash: |
git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "`
echo "##vso[task.setvariable variable=log]$git_log"
Expand Down

0 comments on commit cbf7c4e

Please sign in to comment.