summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-26 03:51:55 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-26 03:51:55 -0400
commiteef5c546af5f7a723be67303feee9b05b47b0fdb (patch)
tree120714dc2e934b0eb00ad09e0cf0d4fd39cfa996 /utils
parent0e69638709367ccd337460adc4a50a76fce064fa (diff)
fixing build-releasenote so that it updates the tarball download link as well.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/build-releasenote3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/build-releasenote b/utils/build-releasenote
index 1b832a4..f7561da 100755
--- a/utils/build-releasenote
+++ b/utils/build-releasenote
@@ -28,7 +28,8 @@ checksums
temprelease=$(mktemp ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX)
trap "rm -f $temprelease" EXIT
set -e
-head -n$(( $(grep -n '^-----BEGIN PGP SIGNED MESSAGE-----$' website/download.mdwn | head -n1 | cut -f1 -d:) - 1 )) website/download.mdwn >$temprelease
+head -n$(( $(grep -n '^-----BEGIN PGP SIGNED MESSAGE-----$' website/download.mdwn | head -n1 | cut -f1 -d:) - 1 )) website/download.mdwn | \
+ sed -e 's|http://archive\.monkeysphere\.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_[[:digit:].]\+\.orig\.tar\.gz|http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_'"${VERSION%%-*}"'.orig.tar.gz|g' >$temprelease
checksums | gpg --no-tty --clearsign --default-key EB8AF314 >>$temprelease
cat utils/download.mdwn.footer >>$temprelease
mv "$temprelease" website/download.mdwn