aboutsummaryrefslogtreecommitdiffstats
path: root/build/README
blob: a6e15694c2166a5b95312e9c5423b5be7b1ad566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

TMP_DATA=$(mktemp -d)
function cleanup {
  rm -Rf "$TMP_DATA"
}
trap cleanup EXIT

if [ -n "$artifact_urls" ]; then
  for URL in $(echo $artifact_urls | sed -e "s| |\n|g" | sort -u); do
    curl --globoff -o $TMP_DATA/file_data "
_DATA/file_data ]; then rm $TMP_DATA/file_data fi done else echo "No artifact_urls was set. Skipping..." fi