aboutsummaryrefslogtreecommitdiff
path: root/scripts/bb_release
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-07-25 10:41:42 +0100
committerRon Yorston <rmy@pobox.com>2018-07-25 10:41:42 +0100
commit59873514f17cefd6ba3997dad5779f75433fd4e6 (patch)
tree1c9d0a3450ed95f0b820285b9f9fc217c902e652 /scripts/bb_release
parent779fd5745ac11bf752f5f4b977a274a39c192f90 (diff)
parent81de30de05beebabfa72f2a01ec4f33e9a1923e3 (diff)
downloadbusybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.tar.gz
busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.tar.bz2
busybox-w32-59873514f17cefd6ba3997dad5779f75433fd4e6.zip
Merge branch 'busybox'
Diffstat (limited to 'scripts/bb_release')
-rwxr-xr-xscripts/bb_release22
1 files changed, 5 insertions, 17 deletions
diff --git a/scripts/bb_release b/scripts/bb_release
index 8aa380438..2e146bf84 100755
--- a/scripts/bb_release
+++ b/scripts/bb_release
@@ -15,20 +15,8 @@ VERSION=`ls busybox-*.tar.gz | sed 's/busybox-\(.*\)\.tar\.gz/\1/'`
15 15
16zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 16zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2
17 17
18test -f busybox-$VERSION.tar.gz || { echo "no busybox-$VERSION.tar.gz"; exit 1; } 18for releasefile in busybox-$VERSION.tar.gz busybox-$VERSION.tar.bz2; do
19test -f busybox-$VERSION.tar.bz2 || { echo "no busybox-$VERSION.tar.bz2"; exit 1; } 19 test -f $releasefile || { echo "no $releasefile"; exit 1; }
20 20 gpg --detach-sign $releasefile
21signit() 21 sha256sum $releasefile > $releasefile.sha256
22{ 22done
23echo "$1 released `date -r $1 -R`
24
25MD5: `md5sum $1`
26SHA1: `sha1sum $1`
27
28To verify this signature, you can obtain my public key
29from http://busybox.net/~vda/vda_pubkey.gpg
30" | gpg --clearsign > "$1.sign"
31}
32
33signit busybox-$VERSION.tar.gz
34signit busybox-$VERSION.tar.bz2