add some logging
This commit is contained in:
parent
6123a660fa
commit
41c22492d2
1 changed files with 2 additions and 0 deletions
|
@ -148,8 +148,10 @@ download() {
|
|||
mkdir -p $RELEASE_DIR
|
||||
cd $RELEASE_DIR
|
||||
if test ${DOWNLOAD_LATEST} == "true"; then
|
||||
echo "Downloading the latest release"
|
||||
api GET repos/$REPO/releases/latest > $TMP_DIR/assets.json
|
||||
elif test ${DOWNLOAD_lATEST} == "false"; then
|
||||
echo "Downloading tagged release ${TAG}"
|
||||
api GET repos/$REPO/releases/tags/$TAG > $TMP_DIR/assets.json
|
||||
fi
|
||||
jq --raw-output '.assets[] | "\(.name) \(.browser_download_url)"' < $TMP_DIR/assets.json | while read name url ; do
|
||||
|
|
Loading…
Add table
Reference in a new issue