From 2c6acf40d3f61afdf2db6dae49d7df7762281d99 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Thu, 27 Sep 2018 11:53:52 -0400 Subject: [PATCH] copy in file Signed-off-by: Jess Frazelle --- github-dev/cleanup-pr-branch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/github-dev/cleanup-pr-branch b/github-dev/cleanup-pr-branch index 51b5980..8868f4f 100755 --- a/github-dev/cleanup-pr-branch +++ b/github-dev/cleanup-pr-branch @@ -40,10 +40,12 @@ main(){ fi echo "Deleting branch ref $ref for owner ${owner}/${repo}..." + set -x curl -XDELETE -sSL \ -H "${AUTH_HEADER}" \ -H "${API_HEADER}" \ - "/repos/${owner}/${repo}/git/refs/heads/${ref}" + "${URI}/repos/${owner}/${repo}/git/refs/heads/${ref}" + set +x echo "Branch delete success!" fi