summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-07 21:13:23 -0700
committermo khan <mo.khan@gmail.com>2020-03-07 21:13:23 -0700
commitfd8c62ea5df2e9a983a9dc9c0741f88dc00b911d (patch)
tree6544b5df8f6f18f6d47dfea38d43cae609d3f92d /config
parente626524725005ea74d46ac739700521fa74a965c (diff)
checkout latest asdf tag
Diffstat (limited to 'config')
-rw-r--r--config/install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/install.sh b/config/install.sh
index 93a1be6..b4b3f17 100644
--- a/config/install.sh
+++ b/config/install.sh
@@ -81,7 +81,9 @@ apt-get install -y --no-install-recommends dotnet-sdk-3.1 mono-complete
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mkdir -p "$ASDF_DATA_DIR"
-git clone --depth 1 https://github.com/asdf-vm/asdf.git "$ASDF_DATA_DIR"
+git clone https://github.com/asdf-vm/asdf.git "$ASDF_DATA_DIR"
+cd "$ASDF_DATA_DIR"
+git checkout "$(git describe --abbrev=0 --tags)"
while IFS= read -r line; do
tool=$(echo "$line" | cut -d' ' -f1)