Skip to content

Commit

Permalink
- git describe instead of git rev-parse for getVersion()
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed May 21, 2015
1 parent 1bda3b0 commit 537d965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.omdev.mingw
Expand Up @@ -60,7 +60,7 @@ FMILIB_SHARED = OFF
# For Windows build static CMinpack lib!
CMINPACKLIB_SHARED = OFF

CONFIG_REVISION = $(shell git rev-parse --short HEAD)
CONFIG_REVISION = $(shell git describe --match "v*.*" --always)

revision:
@echo Current revision: $(CONFIG_REVISION)
Expand Down

0 comments on commit 537d965

Please sign in to comment.