Skip to content

Commit ccad7eb

Browse files
Merge pull request #1296 from redis/change-the-version-to-1.3
Change the version of the library to 1.3
2 parents 1da763e + f0271c6 commit ccad7eb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ set_target_properties(hiredis PROPERTIES EXPORT_NAME ${hiredis_export_name})
5353

5454
SET_TARGET_PROPERTIES(hiredis
5555
PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE
56-
VERSION "${HIREDIS_SONAME}")
56+
VERSION "${VERSION}"
57+
SOVERSION "${HIREDIS_MAJOR}")
5758
IF(MSVC)
5859
SET_TARGET_PROPERTIES(hiredis
5960
PROPERTIES COMPILE_FLAGS /Z7)
@@ -169,7 +170,8 @@ IF(ENABLE_SSL)
169170
SET_TARGET_PROPERTIES(hiredis_ssl
170171
PROPERTIES
171172
WINDOWS_EXPORT_ALL_SYMBOLS TRUE
172-
VERSION "${HIREDIS_SONAME}")
173+
VERSION "${VERSION}"
174+
SOVERSION "${HIREDIS_MAJOR}")
173175
IF(MSVC)
174176
SET_TARGET_PROPERTIES(hiredis_ssl
175177
PROPERTIES COMPILE_FLAGS /Z7)

hiredis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ typedef long long ssize_t;
4646
#include "alloc.h" /* for allocation wrappers */
4747

4848
#define HIREDIS_MAJOR 1
49-
#define HIREDIS_MINOR 2
49+
#define HIREDIS_MINOR 3
5050
#define HIREDIS_PATCH 0
51-
#define HIREDIS_SONAME 1.2.1-dev
51+
#define HIREDIS_SONAME 1.3.0
5252

5353
/* Connection type can be blocking or non-blocking and is set in the
5454
* least significant bit of the flags field in redisContext. */

0 commit comments

Comments
 (0)