Author: schultz
Date: Mon Feb 19 16:47:05 2024
New Revision: 1915879

URL: http://svn.apache.org/viewvc?rev=1915879&view=rev
Log:
Add documentation for "email" option.

Modified:
    tomcat/site/trunk/tools/update-version.sh

Modified: tomcat/site/trunk/tools/update-version.sh
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/tools/update-version.sh?rev=1915879&r1=1915878&r2=1915879&view=diff
==============================================================================
--- tomcat/site/trunk/tools/update-version.sh (original)
+++ tomcat/site/trunk/tools/update-version.sh Mon Feb 19 16:47:05 2024
@@ -22,22 +22,32 @@ fail_migration_patch() {
 }
 
 if [ \( "$1" = '-h' \) -o \( "$1" = "--help" \) ] ; then
-  echo "Usage: $0 oldrelease newrelease [release date] [release manager]"
+  echo "Usage: $0 oldrelease newrelease [release date] [release manager] 
[email]"
   echo
   echo e.g. $0 8.5.86 8.5.87 2023-03-03 asfuser
   echo
   echo The release date will default to "today" in your current time zone.
   echo "The release-manager will default to your current username (${USER})"
   echo
+  echo "If you add the \"email\" parameter at the end of the command,"
+  echo "this script will build a release-announcement email message for you,"
+  echo "(hopefully) including the short changelog extracted from the website"
+  echo "news posting for the release."
+  echo
   exit 0
 fi
 if [ \( "" = "$NEW_RELEASE" \) -o \( "" = "$OLD_RELEASE" \) ] ; then
   >&2 echo "You must specify both new and old release numbers"
   >&2 echo
-  >&2 echo "Usage: $0 oldrelease newrelease [release date] [release manager]"
+  >&2 echo "Usage: $0 oldrelease newrelease [release date] [release manager] 
[email]"
   >&2 echo
   >&2 echo e.g. $0 8.5.85 8.5.86 2023-03-03 asfuser
   >&2 echo
+  >&2 echo "If you add the \"email\" parameter at the end of the command,"
+  >&2 echo "this script will build a release-announcement email message for 
you,"
+  >&2 echo "(hopefully) including the short changelog extracted from the 
website"
+  >&2 echo "news posting for the release."
+  >&2 echo
   exit 1
 fi
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to