diff --git a/release.sh b/release.sh index 1ff2aa590f5d78bb29680412748effc438565f89..df6b5886c26a66f0326f5672ab4c83c37dd26fb3 100644 --- a/release.sh +++ b/release.sh @@ -23,13 +23,12 @@ prompt_yes_no() { } version=$1 -old_version=$2 if [ $# -lt 1 -o "$version" = "-h" ]; then cat < [ ] +Usage: $0 EOF exit 1 fi @@ -43,26 +42,20 @@ official release. If you are not one of those people, you probably shouldn't be running this. This script is going to modify the configs and documentation to -release $version from release $old_version. +release $version. EOF -if [ -z "$old_version" ]; then - echo "warning: no old version specified, UPGRADE.txt will be partly updated" -fi - cat <