test/make: Fix LTS tag lookup

Replicating 00afb74669.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I19049e35ad959a34342cd714d805db6bdd933ea4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7814
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Michal Berger 2021-05-07 20:56:01 +02:00 committed by Tomasz Zawadzki
parent 6c1a1a3dca
commit 24e0f403b8

View File

@ -2,7 +2,7 @@
shopt -s extglob
function get_git_tag() {
git -C "${1:-$rootdir}" describe --tags --abbrev=0
git -C "${1:-$rootdir}" describe --tags --abbrev=0 --exclude=LTS
}
if [ "$(uname -s)" = "FreeBSD" ]; then