We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c50316 commit c229020Copy full SHA for c229020
Makefile
@@ -28,6 +28,10 @@ CMAKE_BUILD_TYPE ?= RelWithDebInfo
28
fast install version.cc src/version.cc
29
30
all: version.cc
31
+ git describe --tags
32
+ git describe --tags | sed -e "s/^csdiff-//"
33
+ git describe --tags | sed -e "s/^csdiff-//" -e "s/-.*-/.$$(git log --pretty="%cd" --date=iso -1 | tr -d ":-" | tr " " . | cut -d. -f 1,2)./"
34
+ cat version.cc
35
mkdir -p csdiff_build
36
cd csdiff_build && $(CMAKE) \
37
-D 'CMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)' \
0 commit comments