-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #515: Convenience scripts for making SHA256SUMS.txt.asc
edfbfb3 Update release process docs (Andrew Chow) 043bf82 Add convenience script for making SHA256SUMS.txt (Andrew Chow) 9eebd35 Move built executables to subdirs for shasum'ing (Andrew Chow) Pull request description: These scripts make it easier for me to make the GPG signed sha256sums file. The individual binaries are copied to subdirs named after the tarball or zipfile. Then the `make_shasums.sh` script can make the `SHA256SUMS.txt` file. Lastly, the release process docs are updated to mention this part of the process. Top commit has no ACKs. Tree-SHA512: 14ac6487e069013d9f6775fd8912d1e667302038d75ed27d6fdbb8c5c91e8ed134fe373dbd68d66f33c880ea6fc5f77d1ccd06ef5599d057a7f9fefe100585cf
- Loading branch information
Showing
4 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters