Add .sha256 checksum to release target
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
324c489b23
commit
23f779ee0e
@ -37,8 +37,9 @@ endif
|
||||
# Target to run when building a release
|
||||
#
|
||||
release: distcheck
|
||||
@for file in $(DIST_ARCHIVES); do \
|
||||
md5sum $$file > ../$$file.md5; \
|
||||
@for file in $(DIST_ARCHIVES); do \
|
||||
md5sum $$file > ../$$file.md5; \
|
||||
sha256sum $$file > ../$$file.sha256; \
|
||||
done
|
||||
@mv $(DIST_ARCHIVES) ../
|
||||
@echo
|
||||
@ -47,6 +48,7 @@ release: distcheck
|
||||
@for file in $(DIST_ARCHIVES); do \
|
||||
printf "$$file \tDistribution tarball\n"; \
|
||||
printf "$$file.md5\t"; cat ../$$file.md5 | cut -f1 -d' '; \
|
||||
printf "$$file.sha256\t"; cat ../$$file.sha256 | cut -f1 -d' '; \
|
||||
done
|
||||
|
||||
# Workaround for systemd unit file duing distcheck
|
||||
|
Loading…
Reference in New Issue
Block a user