Makefile: add target to pack a zip archive for the current revision of the git repository

This commit is contained in:
nodiscc
2020-03-07 15:58:04 +01:00
parent eca42449aa
commit a4d91d3a35

View File

@@ -46,7 +46,7 @@ build:
##############################
release: checksums sign_checksums
release: checksums sign_checksums release_archive
checksums:
# Generate checksums of the resulting ISO image
@@ -63,6 +63,9 @@ sign_checksums:
gpg --detach-sign --armor SHA512SUMS; \
mv SHA512SUMS.asc SHA512SUMS.sign
release_archive:
git archive --format=zip -9 HEAD -o $$(basename $$PWD)-$$(git rev-parse HEAD).zip
################################
tests: download_iso test_kvm_bios test_kvm_uefi