correcting version bump

This commit is contained in:
Daniel Lemire
2024-04-04 14:08:25 -04:00
parent 646bd3f2c3
commit 82563dcf70
6 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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.
*/
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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.
*/
+4 -1
View File
@@ -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 )