From f7ff28e73e0ef16cf3ab4d81502b6e8960b00731 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 23 Jan 2022 14:49:07 +0100 Subject: [PATCH] :hammer: add script to create xz archive --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 43db74d85..4fb2ce194 100644 --- a/Makefile +++ b/Makefile @@ -215,8 +215,12 @@ release: gpg --armor --detach-sig $(AMALGAMATED_FILE) cp $(AMALGAMATED_FILE) release_files mv $(AMALGAMATED_FILE).asc release_files + find LICENSE.MIT nlohmann_json.natvis CMakeLists.txt cmake/*.in include single_include -type f | tar --create --preserve-permissions --file - --files-from - | xz --compress -9e --threads=2 - > json.xz + gpg --armor --detach-sig json.xz + mv json.xz json.xz.asc release_files cd release_files ; shasum -a 256 json.hpp > hashes.txt cd release_files ; shasum -a 256 include.zip >> hashes.txt + cd release_files ; shasum -a 256 json.xz >> hashes.txt ##########################################################################