Makefile: add target to pack a zip archive for the current revision of the git repository
This commit is contained in:
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user