From 54cb6975360d860dbc054576e4f6624f9bea7545 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 31 Aug 2024 14:15:32 +0200 Subject: [PATCH] mkrelease: Calculate checksum for tarballs. Closes: #1432 This allows users and packagers to verify them using sha256sum --check audacious-$version.sha256sum --- .gitignore | 2 ++ mkrelease.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index c58b4c35d..d1b7c7a2a 100644 --- a/.gitignore +++ b/.gitignore @@ -38,5 +38,7 @@ win32/override/README.txt *.moc *.o *.patch +*.sha256sum *.so +*.tar.bz2 *~ diff --git a/mkrelease.sh b/mkrelease.sh index 1acab72d2..20bca63fb 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -25,3 +25,6 @@ rm -rf .github .gitignore aclocal.m4 autom4te.cache echo "Building $RELEASENAME.tar.bz2 ..." cd .. || exit 1 tar cfj $RELEASENAME.tar.bz2 $RELEASENAME || exit 1 + +echo "Calculating checksum ..." +sha256sum $RELEASENAME.tar.bz2 > $RELEASENAME.sha256sum || exit 1