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 <karol.latecki@intel.com> Change-Id: I2e64380299cd1a4aeaf21f324890d9257efdaea3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6244 Reviewed-by: Michal Berger <michalx.berger@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
b924daec88
commit
00afb74669
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user