From 82563dcf70be6efa571f0e45f40cc994e18f1506 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 4 Apr 2024 14:08:25 -0400 Subject: [PATCH] correcting version bump --- CMakeLists.txt | 2 +- Doxyfile | 2 +- include/simdjson/simdjson_version.h | 4 ++-- singleheader/simdjson.cpp | 2 +- singleheader/simdjson.h | 6 +++--- tools/release.py | 5 ++++- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99a39756c..7fc14419d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.14) project( simdjson # The version number is modified by tools/release.py - VERSION 3.8.0 + VERSION 3.9.0 DESCRIPTION "Parsing gigabytes of JSON per second" HOMEPAGE_URL "https://simdjson.org/" LANGUAGES CXX C diff --git a/Doxyfile b/Doxyfile index 920633810..fb09b05e0 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = "3.8.0" +PROJECT_NUMBER = "3.9.0" # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/include/simdjson/simdjson_version.h b/include/simdjson/simdjson_version.h index 5d29a4006..3732c79bf 100644 --- a/include/simdjson/simdjson_version.h +++ b/include/simdjson/simdjson_version.h @@ -4,7 +4,7 @@ #define SIMDJSON_SIMDJSON_VERSION_H /** The version of simdjson being used (major.minor.revision) */ -#define SIMDJSON_VERSION "3.8.0" +#define SIMDJSON_VERSION "3.9.0" namespace simdjson { enum { @@ -15,7 +15,7 @@ enum { /** * The minor version (major.MINOR.revision) of simdjson being used. */ - SIMDJSON_VERSION_MINOR = 8, + SIMDJSON_VERSION_MINOR = 9, /** * The revision (major.minor.REVISION) of simdjson being used. */ diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp index 8c09ea001..09bdd3c1f 100644 --- a/singleheader/simdjson.cpp +++ b/singleheader/simdjson.cpp @@ -1,4 +1,4 @@ -/* auto-generated on 2024-04-04 12:22:03 -0400. Do not edit! */ +/* auto-generated on 2024-04-04 12:24:07 -0400. Do not edit! */ /* including simdjson.cpp: */ /* begin file simdjson.cpp */ #define SIMDJSON_SRC_SIMDJSON_CPP diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h index f7af6346a..39567e03c 100644 --- a/singleheader/simdjson.h +++ b/singleheader/simdjson.h @@ -1,4 +1,4 @@ -/* auto-generated on 2024-04-04 12:22:03 -0400. Do not edit! */ +/* auto-generated on 2024-04-04 12:24:07 -0400. Do not edit! */ /* including simdjson.h: */ /* begin file simdjson.h */ #ifndef SIMDJSON_H @@ -2346,7 +2346,7 @@ namespace std { #define SIMDJSON_SIMDJSON_VERSION_H /** The version of simdjson being used (major.minor.revision) */ -#define SIMDJSON_VERSION "3.8.0" +#define SIMDJSON_VERSION "3.9.0" namespace simdjson { enum { @@ -2357,7 +2357,7 @@ enum { /** * The minor version (major.MINOR.revision) of simdjson being used. */ - SIMDJSON_VERSION_MINOR = 8, + SIMDJSON_VERSION_MINOR = 9, /** * The revision (major.minor.REVISION) of simdjson being used. */ diff --git a/tools/release.py b/tools/release.py index 61779cffa..2908b79ea 100755 --- a/tools/release.py +++ b/tools/release.py @@ -37,20 +37,23 @@ if(ret != 0): sys.exit(ret) print("Calling git log HEAD.. --oneline") pipe = subprocess.Popen(["git", "log", "HEAD..", "--oneline"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) -print("the commandline is {}".format(pipe.args)) +print("the commandline is '{}'".format(pipe.args)) uptodateresult = pipe.communicate()[0].decode().strip() if(len(uptodateresult) != 0): print(uptodateresult) sys.exit(-1) +print("answer: "+uptodateresult) pipe = subprocess.Popen(["git", "rev-parse", "--show-toplevel"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) maindir = pipe.communicate()[0].decode().strip() + scriptlocation = os.path.dirname(os.path.abspath(__file__)) print("repository: "+maindir) pipe = subprocess.Popen(["git", "describe", "--abbrev=0", "--tags"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) +print("the commandline is '{}'".format(pipe.args)) versionresult = pipe.communicate()[0].decode().strip() print("last version: "+versionresult )