From 00afb74669d2281ed8f74f49aced2fc7b7059b38 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Wed, 3 Feb 2021 19:13:12 +0100 Subject: [PATCH] test/vm_setup: fix LTS release checkout We don't typically "describe" our releases and it seems that last LTS (20.01.2) was described by accident, so this script worked. Fix it for 21.01 LTS. Signed-off-by: Karol Latecki Change-Id: I2e64380299cd1a4aeaf21f324890d9257efdaea3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6244 Reviewed-by: Michal Berger Reviewed-by: Paul Luse Reviewed-by: Tomasz Zawadzki Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot --- test/common/config/pkgdep/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/config/pkgdep/git b/test/common/config/pkgdep/git index 90778904d..675d51104 100644 --- a/test/common/config/pkgdep/git +++ b/test/common/config/pkgdep/git @@ -27,7 +27,7 @@ function install_refspdk() { release=$(git -C "$GIT_REPOS/spdk_repo/spdk" tag | sort --version-sort | grep -v rc | tail -n 1) output_dir="$GIT_REPOS/spdk_abi_latest" elif [[ "$version" == "LTS" ]]; then - release=$(git -C "$GIT_REPOS/spdk_repo/spdk" describe LTS) + release=$(git -C "$GIT_REPOS/spdk_repo/spdk" describe --tags --exclude=LTS LTS) output_dir="$GIT_REPOS/spdk_abi_lts" fi