diff -r d93c034d3c98 -r 37e0966e43b6 scripts/release --- a/scripts/release Thu Oct 12 11:54:30 2006 +0000 +++ b/scripts/release Fri Oct 13 15:10:50 2006 +0000 @@ -2,6 +2,15 @@ # THE FIRST PARAMETER IS THE VERSION STRING +if [ $# != 1 ]; then + echo + echo 'Usage: release version-string' + echo + echo "WARNING: This script modifies the repository, so don't use it unless" + echo ' you really want to make a release' + exit 1 +fi + set -e function make-dir () { @@ -12,7 +21,7 @@ VERSION=$1 PKGNAME='lemon' -VERSION_STRING='svn-head' +VERSION_STRING='svnhead' make-dir release-dir cd release-dir