You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2017/04/28 15:34:27 UTC

svn commit: r1793110 - /myfaces/site/publish/tobago/update-doc-1.5.sh

Author: lofwyr
Date: Fri Apr 28 15:34:27 2017
New Revision: 1793110

URL: http://svn.apache.org/viewvc?rev=1793110&view=rev
Log:
API docs for 3.0.4

Modified:
    myfaces/site/publish/tobago/update-doc-1.5.sh

Modified: myfaces/site/publish/tobago/update-doc-1.5.sh
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/update-doc-1.5.sh?rev=1793110&r1=1793109&r2=1793110&view=diff
==============================================================================
--- myfaces/site/publish/tobago/update-doc-1.5.sh (original)
+++ myfaces/site/publish/tobago/update-doc-1.5.sh Fri Apr 28 15:34:27 2017
@@ -1,7 +1,24 @@
 #! /bin/bash
 set -e
 
-VERSION=1.5.10
+echo "Preparing docs from a new release."
+
+if [ $# -ne 1 ]; then
+    echo "Usage: $0 <version>"
+    exit 1
+fi
+
+if [[ $1 != 1.5* ]]; then
+    echo "For version NOT 1.5.x use the regular script update-doc.sh"
+    exit 1
+fi
+
+VERSION=$1
+
+echo $VERSION
+
+exit
+
 REPOSITORY=https://repository.apache.org/content/repositories/releases
 
 TLDDOC=tobago-core-$VERSION-tlddoc.jar