Skip to content

Commit

Permalink
Add convenience script for making SHA256SUMS.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Jun 1, 2021
1 parent 9eebd35 commit 043bf82
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions contrib/make_shasums.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! /bin/bash
# Script for generating the SHA256SUMS.txt file

set -ex

pushd dist

sums=SHA256SUMS.txt
sum_files=`find . -type f -not -name *$sums* | sort`
sha256sum $sum_files > $sums
sed -i 's/\.\///g' $sums
sed -i 's/\.dir//g' $sums

popd

0 comments on commit 043bf82

Please sign in to comment.