Allow edge / branch based application creation
@@ -22,9 +22,11 @@ cd $1
if [[ -z "${FIO_BRANCH}" ]]; then
FIO_URL=$(curl -s https://api.github.com/repos/boazsegev/facil.io/releases/latest | grep tarball_url | cut -d '"' -f 4)
else
- FIO_URL=$(https://github.com/boazsegev/facil.io/archive/${FIO_BRANCH}.tar.gz)
+ FIO_URL=https://github.com/boazsegev/facil.io/archive/${FIO_BRANCH}.tar.gz
fi
+echo $FIO_URL
+
# Was: curl -s -LJO https://github.com/boazsegev/facil.io/archive/stable.tar.gz
# But it's better to use releases than the stable branch:
curl -s -o facil.io.tar.gz -LJO $FIO_URL
