mirror of
https://github.com/nlohmann/json.git
synced 2025-11-24 03:44:06 +08:00
🔨 fix release target
This commit is contained in:
4
Makefile
4
Makefile
@@ -588,13 +588,13 @@ ChangeLog.md:
|
|||||||
# Release files
|
# Release files
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
# Create the files for a release and add signatures and hashes. We use `--no-extra` to make the resulting ZIP file
|
# Create the files for a release and add signatures and hashes. We use `-X` to make the resulting ZIP file
|
||||||
# reproducible, see <https://content.pivotal.io/blog/barriers-to-deterministic-reproducible-zip-files>.
|
# reproducible, see <https://content.pivotal.io/blog/barriers-to-deterministic-reproducible-zip-files>.
|
||||||
|
|
||||||
release:
|
release:
|
||||||
rm -fr release_files
|
rm -fr release_files
|
||||||
mkdir release_files
|
mkdir release_files
|
||||||
zip -9 --recurse-paths --no-extra include.zip $(SRCS)
|
zip -9 --recurse-paths -X include.zip $(SRCS)
|
||||||
gpg --armor --detach-sig include.zip
|
gpg --armor --detach-sig include.zip
|
||||||
mv include.zip include.zip.asc release_files
|
mv include.zip include.zip.asc release_files
|
||||||
gpg --armor --detach-sig $(AMALGAMATED_FILE)
|
gpg --armor --detach-sig $(AMALGAMATED_FILE)
|
||||||
|
|||||||
Reference in New Issue
Block a user