mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
🏷️ 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:
1
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -37,6 +37,7 @@ body:
|
|||||||
label: Version
|
label: Version
|
||||||
description: What version of our software are you running?
|
description: What version of our software are you running?
|
||||||
options:
|
options:
|
||||||
|
- 0.7.2
|
||||||
- 0.7.1
|
- 0.7.1
|
||||||
- 0.7.0
|
- 0.7.0
|
||||||
- 0.6.0
|
- 0.6.0
|
||||||
|
|||||||
15
.github/release.md
vendored
Normal file
15
.github/release.md
vendored
Normal 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
|
||||||
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ssciwr/doxygen-install@v1
|
- uses: ssciwr/doxygen-install@v1
|
||||||
with:
|
with:
|
||||||
version: "1.10.0"
|
version: "1.14.0"
|
||||||
- run: sudo apt install graphviz
|
- run: sudo apt install graphviz
|
||||||
- run: |
|
- run: |
|
||||||
cmake . -DJWT_BUILD_DOCS=ON
|
cmake . -DJWT_BUILD_DOCS=ON
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ endif()
|
|||||||
configure_package_config_file(
|
configure_package_config_file(
|
||||||
${CMAKE_CURRENT_LIST_DIR}/cmake/jwt-cpp-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config.cmake
|
${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})
|
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)
|
COMPATIBILITY ExactVersion)
|
||||||
|
|
||||||
install(TARGETS jwt-cpp EXPORT jwt-cpp-targets PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(TARGETS jwt-cpp EXPORT jwt-cpp-targets PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
|||||||
@@ -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
|
${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome.css
|
||||||
EXPECTED_HASH SHA256=9b5549928906e9974cc12dcdde9265e016dc2388ec72d5aa3209f4870914a0c8)
|
EXPECTED_HASH SHA256=59d490373159e2cae97784c83463d8bc21fe5d65a4b0edd73048a3dab60f2ee5)
|
||||||
file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.2.1/doxygen-awesome-sidebar-only.css
|
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
|
${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
|
execute_process(COMMAND doxygen --version RESULT_VARIABLE DOXYGEN_VERSION_RESULT
|
||||||
OUTPUT_VARIABLE DOXYGEN_VERSION_RAW_OUTPUT)
|
OUTPUT_VARIABLE DOXYGEN_VERSION_RAW_OUTPUT)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ PROJECT_NAME = JWT-CPP
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# 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
|
# 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
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
<package>
|
<package>
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>jwt-cpp</id>
|
<id>jwt-cpp</id>
|
||||||
<version>0.7.1</version>
|
<version>0.7.2</version>
|
||||||
<authors>Thalhammer; prince-chrismc</authors>
|
<authors>Thalhammer; prince-chrismc</authors>
|
||||||
<owners>Thalhammer; prince-chrismc</owners>
|
<owners>Thalhammer; prince-chrismc</owners>
|
||||||
<projectUrl>https://github.com/Thalhammer/jwt-cpp</projectUrl>
|
<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>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>
|
</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>
|
<license type="expression">MIT</license>
|
||||||
<copyright>Copyright (c) 2018 Dominik Thalhammer</copyright>
|
<copyright>Copyright (c) 2018 Dominik Thalhammer</copyright>
|
||||||
<title>JWT++: JSON Web Tokens in C++11</title>
|
<title>JWT++: JSON Web Tokens in C++11</title>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ project(jwt-cpp-installation-tests)
|
|||||||
|
|
||||||
set(TEST CACHE STRING "The test source file to be used")
|
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)
|
add_executable(test-project ${TEST}.cpp)
|
||||||
target_link_libraries(test-project jwt-cpp::jwt-cpp)
|
target_link_libraries(test-project jwt-cpp::jwt-cpp)
|
||||||
|
|||||||
Reference in New Issue
Block a user