File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ configure_file(config_h.cmake.in config.h)
83
83
# get our git tag
84
84
set (GIT_TAG UNRELEASED)
85
85
execute_process (
86
- COMMAND git describe --dirty --tags --always
86
+ COMMAND git describe --exclude =debian* -- dirty --tags --always
87
87
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
88
88
OUTPUT_VARIABLE GIT_TAG
89
89
OUTPUT_STRIP_TRAILING_WHITESPACE
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ EXTRA_DIST = gitrev.h dump.hh expr.hh grammar.hh log.hh prod.hh \
31
31
dut.hh postgres.hh monetdb.hh log-v1.0-to-v1.2.sql boring_sqlstates.txt
32
32
33
33
gitrev.h : $(HEADERS ) $(SOURCES )
34
- -if git describe --dirty --tags --always > /dev/null ; then \
35
- echo " #define GITREV \" $$ (git describe --dirty --tags --always)\" " > $@ ; \
34
+ -if git describe --exclude= ' debian* ' -- dirty --tags --always > /dev/null ; then \
35
+ echo " #define GITREV \" $$ (git describe --exclude='debian*' -- dirty --tags --always)\" " > $@ ; \
36
36
else \
37
37
echo " #define GITREV \" unreleased\" " > $@ ; \
38
38
fi
You can’t perform that action at this time.
0 commit comments