Skip to content

Commit

Permalink
Reset revision number (after the release)
Browse files Browse the repository at this point in the history
  • Loading branch information
xaionaro committed Oct 14, 2013
1 parent 2166559 commit 8737af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ clsync_include_HEADERS = configuration.h clsync.h malloc.h indexes.h options.h o

revision.h:
(echo -n '#define REVISION "'; [ -d .git ] && \
(echo -n '.'$$(( $$(git log 2>/dev/null | grep -c ^commit | tr -d "\n") - 308 )) ) \
(echo -n '.'$$(( $$(git log 2>/dev/null | grep -c ^commit | tr -d "\n") - 522 )) ) \
|| echo -n '-release'; echo '"') > $@

doc:
Expand Down

0 comments on commit 8737af7

Please sign in to comment.