removing --depth 1 to fix Element missing a version number.

This commit is contained in:
q 2024-11-25 20:02:14 -05:00
parent b11b35b37e
commit 8c8bc70009

View File

@ -24,7 +24,7 @@ branch=develop
#branch=$(curl -s https://api.github.com/repos/element-hq/element-web/tags | grep -oP '"name": "\K[^"]+' | head -n 1) #branch=$(curl -s https://api.github.com/repos/element-hq/element-web/tags | grep -oP '"name": "\K[^"]+' | head -n 1)
echo "Downloading Element Web from branch '${branch}'" echo "Downloading Element Web from branch '${branch}'"
git clone --depth 1 --branch "${branch}" "${repository_url}" "${directory_name}" git clone --branch "${branch}" "${repository_url}" "${directory_name}"
cd "${directory_name}" cd "${directory_name}"
yarn yarn
cd .. cd ..