diff --git a/CHANGELOG.md b/CHANGELOG.md index a04db819..910a8bf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] - Nothing yet +## [1.7.0] - 2025-03-01 ### Changed - Added support for bazel 8 and 9, thanks to @polasek [#142](https://github.com/tzaeschke/phtree-cpp/issues/142) @@ -252,7 +253,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Nothing. -[Unreleased]: https://github.com/tzaeschke/phtree-cpp/compare/v1.6.2...HEAD +[Unreleased]: https://github.com/tzaeschke/phtree-cpp/compare/v1.7.0...HEAD +[1.7.0]: https://github.com/tzaeschke/phtree-cpp/compare/v1.6.2...v1.7.0 [1.6.2]: https://github.com/tzaeschke/phtree-cpp/compare/v1.6.1...v1.6.2 [1.6.1]: https://github.com/tzaeschke/phtree-cpp/compare/v1.6.0...v1.6.1 [1.6.0]: https://github.com/tzaeschke/phtree-cpp/compare/v1.5.0...v1.6.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 75514a68..e83022e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.14) -project(phtree VERSION 1.6.2 +project(phtree VERSION 1.7.0 DESCRIPTION "PH-Tree C++" HOMEPAGE_URL "https://github.com/tzaeschke/phtree-cpp" LANGUAGES CXX) diff --git a/MODULE.bazel b/MODULE.bazel index 4418ca57..b7b0bdc9 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "phtree-cpp", - version = "1.6.2", + version = "1.7.0", ) # Bazel rules repositories. diff --git a/README.md b/README.md index 105fad24..b4a60c80 100644 --- a/README.md +++ b/README.md @@ -571,11 +571,11 @@ __before__ importing any Windows SDK dependencies. ### Bazel -`WORKSPACE` file: +`MODULE.bazel` file: ``` http_archive( name = "phtree", - strip_prefix = "phtree-cpp-v1.6.2", + strip_prefix = "phtree-cpp-v1.7.0", url = "https://github.com/tzaeschke/phtree-cpp", ) ``` @@ -617,7 +617,7 @@ include(FetchContent) FetchContent_Declare( phtree GIT_REPOSITORY https://github.com/tzaeschke/phtree-cpp.git - GIT_TAG v1.6.2 + GIT_TAG v1.7.0 ) FetchContent_MakeAvailable(phtree) ``` diff --git a/ReleaseHowTo.md b/ReleaseHowTo.md index 5416fb87..30815764 100644 --- a/ReleaseHowTo.md +++ b/ReleaseHowTo.md @@ -1,13 +1,6 @@ - - - -https://github.com/tzaeschke/phtree-cpp/releases/v1.6.2/download/v1.6.2.tar.gz - - # Create Release (document WIP) - ## Verify code ### Run examples @@ -25,17 +18,35 @@ bazel run //examples:example - Test with VisualStudio on Windows - Update references of tested compilers in README.md +## Release Prep + +* Create branch/PR `release/1.7.0` +* Update version in + * MODULE.bazel + * CMakeLists.txt + * README.md + * CHANGELOG.md (don't forget links at the bottom) +* Commit, push, merge + +## Create GitHub release + +... + ## Create Archive ```bash -git archive --format=zip v1.6.2 > phtree-cpp-v1.6.2.zip +git archive --format=zip v1.7.0 > phtree-cpp-v1.7.0.zip ``` Upload to GitHub release. Resulting link: ``` -https://github.com/tzaeschke/phtree-cpp/releases/download/v1.6.2/phtree-cpp-v1.6.2.zip +https://github.com/tzaeschke/phtree-cpp/releases/download/v1.7.0/phtree-cpp-v1.7.0.zip +``` +or +``` +https://github.com/tzaeschke/phtree-cpp/releases/v1.7.0/download/v1.7.0.tar.gz ``` @@ -53,7 +64,7 @@ bazel build //:phtree #### Start Checkout personal fork of bazel-central-registry. -Create branch `phtree-cpp@1.6.2`. +Create branch `phtree-cpp@1.7.0`. #### After modifying any file @@ -66,13 +77,13 @@ bazel run -- //tools:update_integrity phtree-cpp #### Validate ```shell -bazel run -- //tools:bcr_validation --check=phtree-cpp@1.6.2 +bazel run -- //tools:bcr_validation --check=phtree-cpp@1.7.0 ``` #### Test locally ```bash -bazel run //tools:setup_presubmit_repos -- --module phtree-cpp@1.6.2 +bazel run //tools:setup_presubmit_repos -- --module phtree-cpp@1.7.0 ``` There is also a GitHub action for release automation: