diff --git a/CMakeLists.txt b/CMakeLists.txt index 6becf1e..4b0c86d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ FetchContent_Declare( parallel-hashmap GIT_REPOSITORY https://github.com/greg7mdp/parallel-hashmap.git - GIT_TAG v1.3.7 # adjust tag/branch/commit as needed + GIT_TAG 1.3.8 # adjust tag/branch/commit as needed ) FetchContent_MakeAvailable(parallel-hashmap) diff --git a/doc/new_release.md b/doc/new_release.md new file mode 100644 index 0000000..56cfbf0 --- /dev/null +++ b/doc/new_release.md @@ -0,0 +1,35 @@ +- update version in phmap_config.h +- update version in comment on top of CMakeLists.txt +- create the new release on github (tag `1.3.8` - use semantic versioning) +- download the tar.gz from github, and use `sha256sum parallel-hashmap-1.3.8.tar.gz` on linux to get the sha256 + +## conan + +- fork and clone [conan-center repo](https://github.com/conan-io/conan-center-index) + (or sync + git pull) +- git checkout -b phmap_1.3.8 +- update: `recipes/parallel-hashmap/all/conandata.yml` and `recipes/parallel-hashmap/config.yml` +- sudo pip install conan -U +- cd recipes/parallel-hashmap/all +- conan create conanfile.py parallel-hashmap/1.3.8@ -pr:b=default -pr:h=default +- create PR like [this](https://github.com/conan-io/conan-center-index/pull/13161) + + +## vcpkg + +- fork and clone [vcpkg repo](https://github.com/microsoft/vcpkg) + (or sync + git pull) +- git checkout -b phmap_1.3.8 +- update ports/parallel-hashmap/portfile.cmake and ports/parallel-hashmap/vcpkg.json + +in windows, non-cygwin console + +- set VCPKG_ROOT= +- vcpkg install parallel-hashmap --triplet x64-windows +- # update sha in portfile.cmake +- git diff +- git commit ... +- vcpkg x-add-version --all --overwrite-version ## (or ./vcpkg.exe --no-dry-run upgrade ) +- git diff +- git commit ... +- git push origin phmap_1.3.8 diff --git a/parallel_hashmap/phmap_config.h b/parallel_hashmap/phmap_config.h index fbad5e5..18434f6 100644 --- a/parallel_hashmap/phmap_config.h +++ b/parallel_hashmap/phmap_config.h @@ -36,7 +36,7 @@ #define PHMAP_VERSION_MAJOR 1 #define PHMAP_VERSION_MINOR 3 -#define PHMAP_VERSION_PATCH 6 +#define PHMAP_VERSION_PATCH 8 // Included for the __GLIBC__ macro (or similar macros on other systems). #include