You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/03/02 15:52:06 UTC

svn commit: r1296231 - /incubator/jena/Jena2/Fuseki/trunk/dist/dist-fuseki.sh

Author: andy
Date: Fri Mar  2 14:52:05 2012
New Revision: 1296231

URL: http://svn.apache.org/viewvc?rev=1296231&view=rev
Log:
Refactor dist builder

Modified:
    incubator/jena/Jena2/Fuseki/trunk/dist/dist-fuseki.sh

Modified: incubator/jena/Jena2/Fuseki/trunk/dist/dist-fuseki.sh
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/dist/dist-fuseki.sh?rev=1296231&r1=1296230&r2=1296231&view=diff
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/dist/dist-fuseki.sh (original)
+++ incubator/jena/Jena2/Fuseki/trunk/dist/dist-fuseki.sh Fri Mar  2 14:52:05 2012
@@ -16,15 +16,24 @@
 ## limitations under the License.
 
 # This script collects everything for the 
-# incubator/dist/jena area for a TDB release.
-
+# incubator/dist/jena area for a release.
+#
+# Layout:
+# /NAME-VERSION/NAME-VERSION-source-release.zip
+# /NAME-VERSION/NAME-VERSION-distribution.zip
+# /NAME-VERSION/NAME-VERSION-distribution.tar.gz
+# and asc, md5 and sh1 files.
+#
 # You need a copy of the maven-built-artifacts, toegther with the .asc files.
-# The .asc files should be created when the artifacts were created.
+# The .asc files should be created when the artifacts were created
+# with -Papache-release or mvn gpg:sign
+#
 # In emergencies, create the .asc 
 # gpg --batch --armour --detach-sign F (creates $F.asc or use -o)
 
-# Layout: simple:
-# /MOD-VER/
+## This system
+VERSION=0.2.1
+NAME=jena-fuseki
 
 # Set the REPO, down to the 
 # e.g. ~/.m2/repository
@@ -136,17 +145,13 @@ cpallfiles()
 
 }
 
-## ToDo: automate
-
-VER=0.2.1
-inc=incubating
-
 ## source-release
 echo
 echo "# source-release"
 
-M=jena-fuseki
-V="${VER}-$inc"
+inc=incubating
+M="$NAME"
+V="${VERSION}-$inc"
 D="$M-$V"
 
 ## Just the distribution and source-release
@@ -189,5 +194,3 @@ cpfile "$M/$V/$M-$V-distribution.tar.gz"
 ## 	done
 ##     done
 ## fi
-
-