aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-05-12 18:57:40 -0700
committerGravatar MarkKoz <[email protected]>2019-05-12 18:57:40 -0700
commitf692ded4b6840ef90a004e87909c27d275da5379 (patch)
treee90856ea78ee22b6847a4ba47bfe579859a3046b
parentReference target branch as a remote rather than a local branch (diff)
Revert "Ensure branches are prefixed with refs/heads/"
This reverts commit 27af05b05b5c5bc0974ed61bf75f93a3b42280df.
-rw-r--r--azure-pipelines.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index f6a1a9d..6b28088 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -47,7 +47,6 @@ jobs:
command: 'login'
- script: |
- BUILD_SOURCEBRANCH=refs/heads/"${BUILD_SOURCEBRANCH#refs/heads/}"
REQUEST_URL="https://dev.azure.com/python-discord/${SYSTEM_TEAMPROJECTID}/_apis/build/builds?queryOrder=finishTimeDescending&resultFilter=succeeded&\$top=1&repositoryType=${BUILD_REPOSITORY_PROVIDER}&repositoryId=${BUILD_REPOSITORY_NAME}&branchName=${BUILD_SOURCEBRANCH}&api-version=5.0"
echo "Retrieving previous build's commit using $REQUEST_URL"