change test syntax
This commit is contained in:
parent
2b1dcdb5a7
commit
9e05e3b644
1 changed files with 2 additions and 2 deletions
|
@ -146,10 +146,10 @@ download() {
|
|||
(
|
||||
mkdir -p $RELEASE_DIR
|
||||
cd $RELEASE_DIR
|
||||
if test ${DOWNLOAD_LATEST} == "true"; then
|
||||
if [[ ${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
|
||||
elif [[ ${DOWNLOAD_LATEST} == "false" ]] ; then
|
||||
wait_release
|
||||
echo "Downloading tagged release ${TAG}"
|
||||
api GET repos/$REPO/releases/tags/$TAG > $TMP_DIR/assets.json
|
||||
|
|
Loading…
Add table
Reference in a new issue