v1.9: update version numbers

Update the library's (API) version number to v1.9.0. Also update the
soname version number to 2.0, since we've had breaking ABI changes
to the library.
This commit is contained in:
Edward Thomson
2024-12-23 17:08:20 +00:00
parent e96e250446
commit c536fcbb85
3 changed files with 7 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.5.1)
project(libgit2 VERSION "1.8.2" LANGUAGES C)
project(libgit2 VERSION "1.9.0" LANGUAGES C)
# Add find modules to the path
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")

View File

@@ -19,16 +19,16 @@ GIT_BEGIN_DECL
* The version string for libgit2. This string follows semantic
* versioning (v2) guidelines.
*/
#define LIBGIT2_VERSION "1.8.2"
#define LIBGIT2_VERSION "1.9.0"
/** The major version number for this version of libgit2. */
#define LIBGIT2_VERSION_MAJOR 1
/** The minor version number for this version of libgit2. */
#define LIBGIT2_VERSION_MINOR 8
#define LIBGIT2_VERSION_MINOR 9
/** The revision ("teeny") version number for this version of libgit2. */
#define LIBGIT2_VERSION_REVISION 2
#define LIBGIT2_VERSION_REVISION 0
/** The Windows DLL patch number for this version of libgit2. */
#define LIBGIT2_VERSION_PATCH 0
@@ -44,9 +44,9 @@ GIT_BEGIN_DECL
/**
* The library ABI soversion for this version of libgit2. This should
* only be changed when the library has a breaking ABI change, and so
* may trail the library's version number.
* may not reflect the library's API version number.
*/
#define LIBGIT2_SOVERSION "1.8"
#define LIBGIT2_SOVERSION "2.0"
/**
* An integer value representing the libgit2 version number. For example,

View File

@@ -1,6 +1,6 @@
{
"name": "libgit2",
"version": "1.8.2",
"version": "1.9.0",
"repo": "https://github.com/libgit2/libgit2",
"description": " A cross-platform, linkable library implementation of Git that you can use in your application.",
"install": "mkdir build && cd build && cmake .. && cmake --build ."