🔨 add script to create xz archive
This commit is contained in:
parent
f7ff28e73e
commit
6ab7881060
8
Makefile
8
Makefile
@ -215,12 +215,12 @@ release:
|
|||||||
gpg --armor --detach-sig $(AMALGAMATED_FILE)
|
gpg --armor --detach-sig $(AMALGAMATED_FILE)
|
||||||
cp $(AMALGAMATED_FILE) release_files
|
cp $(AMALGAMATED_FILE) release_files
|
||||||
mv $(AMALGAMATED_FILE).asc 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
|
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.tar.xz
|
||||||
gpg --armor --detach-sig json.xz
|
gpg --armor --detach-sig json.tar.xz
|
||||||
mv json.xz json.xz.asc release_files
|
mv json.tar.xz json.tar.xz.asc release_files
|
||||||
cd release_files ; shasum -a 256 json.hpp > hashes.txt
|
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 include.zip >> hashes.txt
|
||||||
cd release_files ; shasum -a 256 json.xz >> hashes.txt
|
cd release_files ; shasum -a 256 json.tar.xz >> hashes.txt
|
||||||
|
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user