jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r22827 - /dev/jackrabbit/create-download-md.sh
Date Thu, 02 Nov 2017 14:28:28 GMT
Author: reschke
Date: Thu Nov  2 14:28:28 2017
New Revision: 22827

Log:
improve markdown generator to handle oak as well

Modified:
    dev/jackrabbit/create-download-md.sh

Modified: dev/jackrabbit/create-download-md.sh
==============================================================================
--- dev/jackrabbit/create-download-md.sh (original)
+++ dev/jackrabbit/create-download-md.sh Thu Nov  2 14:28:28 2017
@@ -38,7 +38,8 @@ function dumpone {
 
 function usage {
     echo "sh create-download-md.sh <jr-version>"
-    echo
+    echo "sh create-download-md.sh oak/<oak-version>"
+    echo "Example:"
     echo "sh create-download-md.sh 2.12.3"
 }
 
@@ -50,11 +51,16 @@ fi
 
 printf "See the [full release notes](%s/%s/RELEASE-NOTES.txt) for more details.\n" $site
$version
 
-dumpone "jackrabbit-$version-src.zip" "source zip"
-dumpone "jackrabbit-standalone-$version.jar" "standalone server"
-dumpone "jackrabbit-webapp-$version.war" "web application"
-dumpone "jackrabbit-jca-$version.rar" "JCA resource adapter"
-
-
-
+case $version in
+oak*)
+  v=$(echo $version | tr '/' '-')
+  dumpone "jackrabbit-$v-src.zip" "source zip"
+  ;;
+*)
+  dumpone "jackrabbit-$version-src.zip" "source zip"
+  dumpone "jackrabbit-standalone-$version.jar" "standalone server"
+  dumpone "jackrabbit-webapp-$version.war" "web application"
+  dumpone "jackrabbit-jca-$version.rar" "JCA resource adapter"
+  ;;
+esac
 



Mime
View raw message