From 1a70731df318c32e0f5c3f49954d7cd7553c9828 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 13 Sep 2015 23:33:22 +0200 Subject: [PATCH] Makefile: Use git describe to find last tag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47acbae..fccff68 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ release: $(RELEASE_DIR) release-test (cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am git tag -m "New version $(NEW_RELEASE)" \ - -m "$$(git log --oneline $(LATEST_RELEASE)..HEAD^)" \ + -m "$$(git log --oneline $(git describe --abbrev=0)..HEAD^)" \ $(NEW_RELEASE) make clean_releasedir