Set JANSSON_MICRO_VERSION to 255 (0xFF) for git master
authorPetri Lehtinen <petri@digip.org>
Sun, 27 Mar 2011 10:40:25 +0000 (13:40 +0300)
committerPetri Lehtinen <petri@digip.org>
Sun, 27 Mar 2011 18:03:04 +0000 (21:03 +0300)
Also, set documentation release to "2.0+git". This shows up in the
automatically built HTML documentation.

These changes makes it easier for library users to know that this
version is under development.

Closes GH-14.

doc/conf.py
src/jansson.h

index c8911ab..493c0d5 100644 (file)
@@ -50,7 +50,7 @@ copyright = u'2009-2011, Petri Lehtinen'
 # The short X.Y version.
 version = '2.0'
 # The full version, including alpha/beta/rc tags.
-release = '2.0'
+release = '2.0+git'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
index 0ab0dfd..9ea314e 100644 (file)
@@ -22,7 +22,7 @@ extern "C" {
 
 #define JANSSON_MAJOR_VERSION  2
 #define JANSSON_MINOR_VERSION  0
-#define JANSSON_MICRO_VERSION  0
+#define JANSSON_MICRO_VERSION  255
 
 /* Micro version is omitted if it's 0 */
 #define JANSSON_VERSION  "2.0"