THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#43 - Tag each build with unique commit ID
User who did this - Ovidiu Sas (osas)
----------
Hmmm ... I just realize that the current patch will not work properly for tarballs (no git
info built in it).
Here's a new patch that will have a proper output for both type of builds (from
tarballs and from src):
diff --git a/Makefile.defs b/Makefile.defs
index 97824b5..9c981fe 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -157,6 +157,11 @@ PATCHLEVEL = 0
SUBLEVEL = 1
EXTRAVERSION =
+USE_GIT_ID := $(shell if [ -d .git ] ; then echo true; else echo false; fi)
+ifeq ($(USE_GIT_ID),true)
+ EXTRAVERSION := -$(shell git rev-parse --short kamailio_3.0)
+endif
+
# memory debugger switcher
# 0 - off (release mode)
# 1 - on (devel mode)
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=43#comment40
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.