You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/09/03 13:06:33 UTC

svn commit: r1892867 - in /httpd/dev-tools/v2: common-lib.sh make-candidate.sh push-tars.sh

Author: icing
Date: Fri Sep  3 13:06:33 2021
New Revision: 1892867

URL: http://svn.apache.org/viewvc?rev=1892867&view=rev
Log:
set script as svn:executable

Modified:
    httpd/dev-tools/v2/common-lib.sh   (props changed)
    httpd/dev-tools/v2/make-candidate.sh
    httpd/dev-tools/v2/push-tars.sh   (props changed)

Propchange: httpd/dev-tools/v2/common-lib.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: httpd/dev-tools/v2/make-candidate.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/v2/make-candidate.sh?rev=1892867&r1=1892866&r2=1892867&view=diff
==============================================================================
--- httpd/dev-tools/v2/make-candidate.sh (original)
+++ httpd/dev-tools/v2/make-candidate.sh Fri Sep  3 13:06:33 2021
@@ -32,16 +32,19 @@ usage: $0 [options] [version]
     version        as 'm.n.p(-suffix)?' the version to use.
   Options:
     -h             print usage information
+    -y             never ask, always assume yes
 EOF
   exit 1
 }
 
 source `dirname $0`/common-lib.sh
 
-while getopts "h" opt; do
+while getopts "hy" opt; do
     case $opt in
         h)  usage
             ;;
+        y)  ALWAYS_YES=1
+            ;;
     esac
 done
 
@@ -148,6 +151,9 @@ fi
 
 popd >/dev/null
 
-echo "committing candidate changes"
-svn commit -m "Post $version tag updates" "$DIST_DIR"
-echo "release candidate sources created in $SVN_DEST"
+echo "changes for candidate-${VERSION} in ${DIST_DIR}"
+svn stat "${DIST_DIR}"
+if ask_yes_no "Do you want to commit these?"; then
+  svn commit -m "Post $version tag updates" "$DIST_DIR"
+  echo "release candidate sources created in $SVN_DEST"
+fi

Propchange: httpd/dev-tools/v2/push-tars.sh
------------------------------------------------------------------------------
    svn:executable = *