Skip to content

Commit

Permalink
Add simple script for signing releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed May 11, 2017
1 parent 4535dd7 commit b432dac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sign.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -e

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/artifacts"

set -x
rm -f *.asc
for f in gosleep*; do
gpg --output "$f.asc" --detach-sign "$f"
done
sha256sum gosleep* > SHA256SUMS
gpg --output SHA256SUMS.asc --detach-sign SHA256SUMS
ls -lAFh gosleep* SHA256SUMS*

0 comments on commit b432dac

Please sign in to comment.