aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-05-12 20:23:56 -0700
committerGravatar MarkKoz <[email protected]>2019-05-12 20:23:56 -0700
commiteebcae3dd7ff7c55d733bda8187b7435bdd6d781 (patch)
tree6f3f1a004a520c88d470510ace75afef72fb7086
parentRetrieve commit from pr.sourceSha for PR builds (diff)
Fix missing fi for if statement
-rw-r--r--azure-pipelines.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c90ac96..e4b0965 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -56,6 +56,7 @@ jobs:
if [[ -z $PREV_COMMIT ]]; then
echo "Could not retrieve the previous build's commit. Falling back to the head of the target branch."
PREV_COMMIT="origin/$SYSTEM_PULLREQUEST_TARGETBRANCH"
+ fi
else
PREV_COMMIT="$(echo "${RESPONSE}" | grep -Po '"sourceVersion":"\K.*?[^\\](?=",)')"
fi