copy in file

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-27 11:53:52 -04:00
parent 05a2945e77
commit 2c6acf40d3
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -40,10 +40,12 @@ main(){
fi fi
echo "Deleting branch ref $ref for owner ${owner}/${repo}..." echo "Deleting branch ref $ref for owner ${owner}/${repo}..."
set -x
curl -XDELETE -sSL \ curl -XDELETE -sSL \
-H "${AUTH_HEADER}" \ -H "${AUTH_HEADER}" \
-H "${API_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!" echo "Branch delete success!"
fi fi