Skip to content

Commit

Permalink
mkrelease: Calculate checksum for tarballs. Closes: #1432
Browse files Browse the repository at this point in the history
This allows users and packagers to verify them using
sha256sum --check audacious-$version.sha256sum
  • Loading branch information
radioactiveman committed Aug 31, 2024
1 parent 9e51ffa commit 54cb697
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ win32/override/README.txt
*.moc
*.o
*.patch
*.sha256sum
*.so
*.tar.bz2
*~
3 changes: 3 additions & 0 deletions mkrelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 54cb697

Please sign in to comment.