From 91292c8ed411f928ee7b9f6a3981067e317f0083 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sun, 25 Sep 2022 13:40:22 +0200 Subject: Fix multi-headers. --- update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.py b/update.py index e55e6ac..23ca1f6 100755 --- a/update.py +++ b/update.py @@ -75,6 +75,9 @@ for tag, url, body in release_url_map[::-1]: subprocess.call(['git', 'add', './include/nlohmann/json.hpp']) if has_json_fwd: subprocess.call(['git', 'add', './include/nlohmann/json_fwd.hpp']) + # Update the nlohman json options. + subprocess.call([ 'sed', '-i', '-e', 's/library.\" ON/library.\" OFF/g', './CMakeLists.txt']) + subprocess.call(['git', 'add', './CMakeLists.txt']) # Update the README.md: subprocess.call([ 'sed', '-i', '-e', 's/GIT_TAG .*)/GIT_TAG '+ tag + ')/g', './README.md']) -- cgit v1.2.3