🏷️ Set version to 0.7.2 + Document release steps (#414)

updated doxygen to 1.14.0 and doxygen-awesome-css to 2.4.1
This commit is contained in:
Chris Mc
2026-02-25 17:55:44 -08:00
committed by GitHub
parent 6a0a9a2e5a
commit 58622a3f01
8 changed files with 26 additions and 10 deletions

View File

@@ -37,6 +37,7 @@ body:
label: Version
description: What version of our software are you running?
options:
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.0

15
.github/release.md vendored Normal file
View File

@@ -0,0 +1,15 @@
# Steps to perform a Release
1. Update version number in
- CMakeLists.txt `write_basic_package_version_file()`
- nuget/jwt-cpp.nuspec `<version>` and `<releaseNotes>`
- Doxygen `PROJECT_NUMBER`
- .github/ISSUE_TEMPLATE/bug-report.yml `id: version`
2. Draft new release on GitHub
- Releases > Draft a new Release
- Create a tag `vX.Y.Z` at `master`
- add suffix `-rc.X` for testing release process
- Review changes for any **Breaking Changes**
- Add section `## Breaking Changes :warning:` if needed
- separate corresponding Pull Requests
- Publish Release

View File

@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ssciwr/doxygen-install@v1
with:
version: "1.10.0"
version: "1.14.0"
- run: sudo apt install graphviz
- run: |
cmake . -DJWT_BUILD_DOCS=ON

View File

@@ -143,7 +143,7 @@ endif()
configure_package_config_file(
${CMAKE_CURRENT_LIST_DIR}/cmake/jwt-cpp-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config.cmake
INSTALL_DESTINATION ${JWT_CMAKE_FILES_INSTALL_DIR})
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config-version.cmake VERSION 0.7.1
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config-version.cmake VERSION 0.7.2
COMPATIBILITY ExactVersion)
install(TARGETS jwt-cpp EXPORT jwt-cpp-targets PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

View File

@@ -1,9 +1,9 @@
file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.2.1/doxygen-awesome.css
file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.4.1/doxygen-awesome.css
${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome.css
EXPECTED_HASH SHA256=9b5549928906e9974cc12dcdde9265e016dc2388ec72d5aa3209f4870914a0c8)
file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.2.1/doxygen-awesome-sidebar-only.css
EXPECTED_HASH SHA256=59d490373159e2cae97784c83463d8bc21fe5d65a4b0edd73048a3dab60f2ee5)
file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.4.1/doxygen-awesome-sidebar-only.css
${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome-sidebar-only.css
EXPECTED_HASH SHA256=998328b27193b7be007a431bc9be1a6f6855ff4d8fa722ecfdfed79a8931409f)
EXPECTED_HASH SHA256=dc7ddd235375b71ecb0af920faa6b925ee9445ac617f3bc962b0b0db97da7b4f)
execute_process(COMMAND doxygen --version RESULT_VARIABLE DOXYGEN_VERSION_RESULT
OUTPUT_VARIABLE DOXYGEN_VERSION_RAW_OUTPUT)

View File

@@ -48,7 +48,7 @@ PROJECT_NAME = JWT-CPP
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = v0.7.1
PROJECT_NUMBER = v0.7.2
# 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

View File

@@ -2,13 +2,13 @@
<package>
<metadata>
<id>jwt-cpp</id>
<version>0.7.1</version>
<version>0.7.2</version>
<authors>Thalhammer; prince-chrismc</authors>
<owners>Thalhammer; prince-chrismc</owners>
<projectUrl>https://github.com/Thalhammer/jwt-cpp</projectUrl>
<description>JWT++ is a header only library for creating and validating JSON Web Tokens in C++11. This library supports all the algorithms defined by the JWT specifications, and the modular design allows to easily add additional algorithms without any problems. In the name of flexibility and extensibility, jwt-cpp supports OpenSSL, LibreSSL, and wolfSSL. And there is no hard dependency on a JSON library.
</description>
<releaseNotes>Supporting OpenSSL 3.0.0, WolfSSL, Hunter CMake, Boost.JSON, JWKs, ES256K.</releaseNotes>
<releaseNotes>Jsoncons v1 support. Improvements to date format handling.</releaseNotes>
<license type="expression">MIT</license>
<copyright>Copyright (c) 2018 Dominik Thalhammer</copyright>
<title>JWT++: JSON Web Tokens in C++11</title>

View File

@@ -3,7 +3,7 @@ project(jwt-cpp-installation-tests)
set(TEST CACHE STRING "The test source file to be used")
find_package(jwt-cpp 0.7.1 EXACT REQUIRED CONFIG)
find_package(jwt-cpp 0.7.2 EXACT REQUIRED CONFIG)
add_executable(test-project ${TEST}.cpp)
target_link_libraries(test-project jwt-cpp::jwt-cpp)