mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
0ec03a721b
commit
8d83576de4
|
@ -36,7 +36,6 @@ main(){
|
|||
tag_response=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${GITHUB_REPOSITORY}/tags")
|
||||
|
||||
tag_name=$(echo "$tag_response" | jq -e --raw-output .[0].name)
|
||||
tag_id=$(echo "$tag_response" | jq -e --raw-output .[0].id)
|
||||
|
||||
# Get the latest release.
|
||||
latest_response=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${GITHUB_REPOSITORY}/releases/latest")
|
||||
|
@ -53,7 +52,7 @@ main(){
|
|||
|
||||
# Upload the files.
|
||||
echo "Uploading files: ${files[*]}"
|
||||
echo "For tag name: ${tag_name} tag id: ${tag_id}"
|
||||
echo "For tag name: ${tag_name}"
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
for file in ${files[@]}; do
|
||||
|
|
Loading…
Reference in New Issue
Block a user