From ae74d5ac41aa6158442f4643f285ab8b71a7750d Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 14 Feb 2022 07:01:43 -0500 Subject: [PATCH] meta: update version number to v1.5.0-alpha Update the version number in main to v1.5.0-alpha. This helps people understand that the main builds are not part of the v1.4.0 release train. We use "alpha" to indicate builds out of main (or nightlies) as semver v2 requires the prerelease component is compared lexicographically. Thus, our "beta" and "rc" releases should follow. --- CMakeLists.txt | 2 +- include/git2/version.h | 13 +++++++------ package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c19d2ed3..eb137ecdd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.5.1) -project(libgit2 VERSION "1.4.0" LANGUAGES C) +project(libgit2 VERSION "1.5.0" LANGUAGES C) # Add find modules to the path set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake") diff --git a/include/git2/version.h b/include/git2/version.h index 9007ca928..ad36eb569 100644 --- a/include/git2/version.h +++ b/include/git2/version.h @@ -7,12 +7,13 @@ #ifndef INCLUDE_git_version_h__ #define INCLUDE_git_version_h__ -#define LIBGIT2_VERSION "1.4.0" -#define LIBGIT2_VER_MAJOR 1 -#define LIBGIT2_VER_MINOR 4 -#define LIBGIT2_VER_REVISION 0 -#define LIBGIT2_VER_PATCH 0 +#define LIBGIT2_VERSION "1.5.0-alpha" +#define LIBGIT2_VER_MAJOR 1 +#define LIBGIT2_VER_MINOR 5 +#define LIBGIT2_VER_REVISION 0 +#define LIBGIT2_VER_PATCH 0 +#define LIBGIT2_VER_PRERELEASE "alpha" -#define LIBGIT2_SOVERSION "1.4" +#define LIBGIT2_SOVERSION "1.5" #endif diff --git a/package.json b/package.json index 6952563b6..139fc3891 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libgit2", - "version": "1.4.0", + "version": "1.5.0-alpha", "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 ."