mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
copy in file
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
05a2945e77
commit
2c6acf40d3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user