]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: include version in ceph_fs.h
authorSage Weil <sage@newdream.net>
Wed, 2 Sep 2009 20:35:23 +0000 (13:35 -0700)
committerSage Weil <sage@newdream.net>
Wed, 2 Sep 2009 20:35:23 +0000 (13:35 -0700)
RELEASE_CHECKLIST
src/include/ceph_fs.h

index 2519405b453d824de41260902852208a3da11093..8ffeb2a0540cadb7f79800062e24d0a2e7f0e199 100644 (file)
@@ -4,6 +4,7 @@
  $ ./build_upload_debian_packages.sh unstable amd64
 
 - adjust version in configure.ac
+- adjust version in src/include/ceph_fs.h
 - add entry to debian/changelog, with proper version
 - commit
 - git tag version
index 19a02f78ebf4f556ab8346225ec4030eff3b1c8d..93457463456556395844f025397e380f2490788d 100644 (file)
 #include "msgr.h"
 #include "rados.h"
 
+/*
+ * Ceph release version
+ */
+#define CEPH_VERSION_MAJOR 0
+#define CEPH_VERSION_MINOR 13
+#define CEPH_VERSION_PATCH 0
+
+#define _CEPH_STRINGIFY(x) #x
+#define CEPH_STRINGIFY(x) _CEPH_STRINGIFY(x)
+#define CEPH_MAKE_VERSION(x, y, z) CEPH_STRINGIFY(x) "." CEPH_STRINGIFY(y) "." CEPH_STRINGIFY(z)
+#define CEPH_VERSION CEPH_MAKE_VERSION(CEPH_VERSION_MAJOR, CEPH_VERSION_MINOR, CEPH_VERSION_PATCH)
+
 /*
  * subprotocol versions.  when specific messages types or high-level
  * protocols change, bump the affected components.  we keep rev