From da0f0315f78ad03670277f607ca84b2fe236102e Mon Sep 17 00:00:00 2001 From: Mikhail Grigorev Date: Mon, 15 Apr 2024 19:35:55 +0500 Subject: [PATCH] Fixed get latest tag name --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 175d8b2..b31ddc4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DOCKER_ACCOUNT = cherts APPNAME = pgscv APPOS = linux -TAG=$(shell git describe --tags --abbrev=0) +TAG=$(shell git tag -l --sort=-creatordate | head -n 1) COMMIT=$(shell git rev-parse --short HEAD) BRANCH=$(shell git rev-parse --abbrev-ref HEAD)