From c6ead8690ebd8b54594f5ad3dfbef5f6bedd89b0 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 2 Oct 2012 23:24:09 +0200 Subject: [PATCH] use git describe to generate version Last release had git annotate tag (added with git -a) so this is now much better alternative to just git sha1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 68472d3ca..d48f3ddb0 100644 --- a/Makefile +++ b/Makefile @@ -214,7 +214,7 @@ INSTALL_DIR=kindlepdfviewer LUA_FILES=reader.lua -VERSION?=$(shell git rev-parse --short HEAD) +VERSION?=$(shell git describe HEAD) customupdate: all # ensure that build binary is for ARM file kpdfview | grep ARM || exit 1