diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-18 09:42:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-18 09:42:41 +0100 |
commit | 0b65c937e3d272d8f9015ce7e887f4aaf03328e2 (patch) | |
tree | e46787722445ca1c8f554b8921affbf166fa682a /config.h.in | |
parent | 0141607ec2347169666395c610654b1452eb0e78 (diff) | |
download | rspamd-0b65c937e3d272d8f9015ce7e887f4aaf03328e2.tar.gz rspamd-0b65c937e3d272d8f9015ce7e887f4aaf03328e2.zip |
[Rework] Slashing: Change versioning schema - move to 2.0
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/config.h.in b/config.h.in index 2d7fbc096..c4678b15e 100644 --- a/config.h.in +++ b/config.h.in @@ -225,23 +225,21 @@ #define RSPAMD_VERSION_MAJOR "${RSPAMD_VERSION_MAJOR}" #define RSPAMD_VERSION_MINOR "${RSPAMD_VERSION_MINOR}" -#define RSPAMD_VERSION_PATCH "${RSPAMD_VERSION_PATCH}" #define RSPAMD_VERSION_MAJOR_NUM ${RSPAMD_VERSION_MAJOR_NUM} #define RSPAMD_VERSION_MINOR_NUM ${RSPAMD_VERSION_MINOR_NUM} -#define RSPAMD_VERSION_PATCH_NUM ${RSPAMD_VERSION_PATCH_NUM} -#define RSPAMD_VERSION_BRANCH "${RSPAMD_VERSION_MAJOR}.${RSPAMD_VERSION_MINOR}" +#define RSPAMD_VERSION_BRANCH "${RSPAMD_VERSION_MAJOR}" #if defined(GIT_VERSION) && GIT_VERSION == 1 # define RVERSION "${RSPAMD_VERSION}" # define RSPAMD_VERSION_FULL "${RSPAMD_VERSION}_${RSPAMD_ID}" # define RID "${RSPAMD_ID}" -# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}${RSPAMD_VERSION_PATCH_NUM}${RSPAMD_ID}ULL +# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}00${RSPAMD_ID}ULL #else # define RSPAMD_VERSION_FULL "${RSPAMD_VERSION}" # define RVERSION "${RSPAMD_VERSION}" -# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}${RSPAMD_VERSION_PATCH_NUM}0000000ULL +# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}000000000ULL # define RID "release" #endif |