Commit e9125426 authored by Michael Ott's avatar Michael Ott

Lift version number to 0.3

parent 3a254dfd
...@@ -2,6 +2,6 @@ DCDBBASEPATH ?= $(realpath $(dir $(lastword $(MAKEFILE_LIST)))/..) ...@@ -2,6 +2,6 @@ DCDBBASEPATH ?= $(realpath $(dir $(lastword $(MAKEFILE_LIST)))/..)
DCDBDEPSPATH ?= $(DCDBBASEPATH)/deps DCDBDEPSPATH ?= $(DCDBBASEPATH)/deps
DCDBDEPLOYPATH ?= $(DCDBBASEPATH)/install DCDBDEPLOYPATH ?= $(DCDBBASEPATH)/install
DEFAULT_VERSION = 0.2 DEFAULT_VERSION = 0.3
GIT_VERSION = $(shell git describe --tags 2>/dev/null|sed 's/-\([0-9]*\)/.\1/') GIT_VERSION = $(shell git describe --tags 2>/dev/null|sed 's/-\([0-9]*\)/.\1/')
VERSION := $(if $(GIT_VERSION),$(GIT_VERSION),$(DEFAULT_VERSION)) VERSION := $(if $(GIT_VERSION),$(GIT_VERSION),$(DEFAULT_VERSION))
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#define VERSION_H #define VERSION_H
#ifndef VERSION #ifndef VERSION
#define VERSION "0.2" #define VERSION "0.3"
#endif #endif
#endif /* version_h */ #endif /* version_h */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment