-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.10.1 zip json.hpp has version number 3.10.0 instead of 3.10.1 #2973
3.10.1 zip json.hpp has version number 3.10.0 instead of 3.10.1 #2973
Comments
Thanks for reporting! The whole tag seems wrong. Yesterday was the first release with a new release script, and apparently something went wrong. :-/ |
The good news is that 3.10.1 (zip) compiled with Visual Studio 2019 16.11.1 and all tests (Debug/Release) succeeded. |
As the tag is not on the correct commit, this also means that the PGP public key For packaging purposes on Arch Linux I will use 1fd2213 instead, as it is (AFAICT) the one that should have carried the tag. |
Use a later commit for the build, as upstream tagged the wrong commit: nlohmann/json#2973 git-svn-id: file:///srv/repos/svn-community/svn@1004704 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Use a later commit for the build, as upstream tagged the wrong commit: nlohmann/json#2973 git-svn-id: file:///srv/repos/svn-community/svn@1004704 9fca08f4-af9d-4005-b8df-a31f2cc04f65
How can I move tags? |
Then create a new one as usually. |
I would not advise to remove a tag and tag another commit. It will break any downstreams that already rely on e.g. the generated source tarball (it's contents and checksum will change if you do this). The cleaner solution is always to just create a new release (e.g. |
Agree. |
I will prepare a new release soon. I have to check with the release script to check why the tags were not correctly set. |
So this is what happened:I am using git flow to manage release branches. I created the release branch with git flow release start 3.10.1 did all the changes and concluded with git flow release finish 3.10.1 This created the tag Then I had the release draft for tag The attached files in the release were correct, because I uploaded them from the working directory of my release script. This is what I'm going to change:
|
@Andreas-Schniertshauer @dvzrv @xvitaly Unless you find a flaw in my explanation and proposal in #2973 (comment), I would wait until the CI for #2976 completes and create the 3.10.2 release tomorrow - reserving the right to immediately delete it if the tag is not set correctly. |
Release date: 2021-08-26 SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp) 61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip) Summary This release is made days after the 3.10.1 release due to a bug in the release script: The 3.10.1 release at GitHub contained the correct files, but the associated tag v3.10.1 points to the wrong commit. This release is made with a fixed build script. All changes are backward-compatible. Improvements Fix the release scripts to correctly tag releases. nlohmann/json#2973 Fix some -Wunused warnings on JSON_DIAGNOSTICS when the library is built without CMake. nlohmann/json#2975 nlohmann/json#2976 Deprecated functions Passing iterator pairs or pointer/length pairs to parsing functions (basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor, basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson) via initializer lists is deprecated. Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len) instead of basic_json::from_cbor({ptr, len}). -License-Update: Copyright year updated to 2021. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Release date: 2021-08-26 SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp) 61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip) Summary This release is made days after the 3.10.1 release due to a bug in the release script: The 3.10.1 release at GitHub contained the correct files, but the associated tag v3.10.1 points to the wrong commit. This release is made with a fixed build script. All changes are backward-compatible. Improvements Fix the release scripts to correctly tag releases. nlohmann/json#2973 Fix some -Wunused warnings on JSON_DIAGNOSTICS when the library is built without CMake. nlohmann/json#2975 nlohmann/json#2976 Deprecated functions Passing iterator pairs or pointer/length pairs to parsing functions (basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor, basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson) via initializer lists is deprecated. Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len) instead of basic_json::from_cbor({ptr, len}). -License-Update: Copyright year updated to 2021. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Release date: 2021-08-26 SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp) 61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip) Summary This release is made days after the 3.10.1 release due to a bug in the release script: The 3.10.1 release at GitHub contained the correct files, but the associated tag v3.10.1 points to the wrong commit. This release is made with a fixed build script. All changes are backward-compatible. Improvements Fix the release scripts to correctly tag releases. nlohmann/json#2973 Fix some -Wunused warnings on JSON_DIAGNOSTICS when the library is built without CMake. nlohmann/json#2975 nlohmann/json#2976 Deprecated functions Passing iterator pairs or pointer/length pairs to parsing functions (basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor, basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson) via initializer lists is deprecated. Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len) instead of basic_json::from_cbor({ptr, len}). -License-Update: Copyright year updated to 2021. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
The version number in json.hpp of zip file 3.10.1 is 3.10.0 instead of 3.10.1,
see comment line 4 and line 35 #define NLOHMANN_JSON_VERSION_PATCH.
Maybe you want also adjust the comment in line 9 Copyright (c) 2013-2019 to 2021.
The text was updated successfully, but these errors were encountered: