aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-21 09:56:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-21 09:56:19 +0000
commit0dc490bda21c85aee9b7462d0cf401d03a94c06d (patch)
tree87c6af4a5fb7b00622b90f2ea5dac79db9e81ec2 /scripts
parentf90ab183d63c64fd2c35f00d65aedbaae8402740 (diff)
downloadbusybox-w32-0dc490bda21c85aee9b7462d0cf401d03a94c06d.tar.gz
busybox-w32-0dc490bda21c85aee9b7462d0cf401d03a94c06d.tar.bz2
busybox-w32-0dc490bda21c85aee9b7462d0cf401d03a94c06d.zip
scripts/bb_release: release script (I nearly lost it last time)
website: update links to latest releases
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bb_release34
1 files changed, 34 insertions, 0 deletions
diff --git a/scripts/bb_release b/scripts/bb_release
new file mode 100755
index 000000000..8aa380438
--- /dev/null
+++ b/scripts/bb_release
@@ -0,0 +1,34 @@
1#!/bin/sh
2
3# Create signed release tarballs and signature files from current svn.
4# Since you don't have my gpg key, this doesn't do you much good,
5# but if I get hit by a bus the next maintainer might find this useful.
6# Run this in an empty directory. The VERSION= line can get confused
7# otherwise.
8
9#svn co svn://busybox.net/trunk/busybox
10cd busybox || { echo "cd busybox failed"; exit 1; }
11make release || { echo "make release failed"; exit 1; }
12cd ..
13
14VERSION=`ls busybox-*.tar.gz | sed 's/busybox-\(.*\)\.tar\.gz/\1/'`
15
16zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2
17
18test -f busybox-$VERSION.tar.gz || { echo "no busybox-$VERSION.tar.gz"; exit 1; }
19test -f busybox-$VERSION.tar.bz2 || { echo "no busybox-$VERSION.tar.bz2"; exit 1; }
20
21signit()
22{
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