geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1365475 - in /geronimo/site/trunk/bin: fetch_artifacts fetch_checksum
Date Wed, 25 Jul 2012 07:06:54 GMT
Author: xiaming
Date: Wed Jul 25 07:06:53 2012
New Revision: 1365475

URL: http://svn.apache.org/viewvc?rev=1365475&view=rev
Log:
Update auto-scripts for release work

Added:
    geronimo/site/trunk/bin/fetch_artifacts   (with props)
Modified:
    geronimo/site/trunk/bin/fetch_checksum

Added: geronimo/site/trunk/bin/fetch_artifacts
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/bin/fetch_artifacts?rev=1365475&view=auto
==============================================================================
--- geronimo/site/trunk/bin/fetch_artifacts (added)
+++ geronimo/site/trunk/bin/fetch_artifacts Wed Jul 25 07:06:53 2012
@@ -0,0 +1,44 @@
+#!/bin/bash
+#
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
+version=$1
+baseurl="http://repo1.maven.org/maven2/org/apache/geronimo/assemblies"
+#artifactList="geronimo-framework geronimo-jetty6-javaee5 geronimo-jetty6-minimal geronimo-tomcat6-javaee5
geronimo-tomcat6-minimal"
+artifactList="geronimo-framework geronimo-tomcat7-javaee6 geronimo-tomcat7-javaee6-web geronimo-tomcat7-minimal"
+echo "baseurl=$baseurl"
+echo "artifactList=$artifactList"
+if [ ! -d ./$version ]; then
+    echo "Creating a local dist folder for version $version release"
+    mkdir $version
+fi
+cd ./$version
+for artifactId in $artifactList
+do
+    wget $baseurl/$artifactId/$version/$artifactId-$version-bin.tar.gz
+    wget $baseurl/$artifactId/$version/$artifactId-$version-bin.zip
+done
+
+#fetch source tar/zip checksum files
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.md5
> ./$version/geronimo-$version-source-release.tar.gz.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.sha1
> ./$version/geronimo-$version-source-release.tar.gz.sha1
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc.md5
> ./$version/geronimo-$version-source-release.tar.gz.asc.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc.sha1
> ./$version/geronimo-$version-source-release.tar.gz.asc.sha1
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.md5
> ./$version/geronimo-$version-source-release.zip.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.sha1
> ./$version/geronimo-$version-source-release.zip.sha1
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc.md5
> ./$version/geronimo-$version-source-release.zip.asc.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc.sha1
> ./$version/geronimo-$version-source-release.zip.asc.sha1
+

Propchange: geronimo/site/trunk/bin/fetch_artifacts
------------------------------------------------------------------------------
    svn:executable = *

Modified: geronimo/site/trunk/bin/fetch_checksum
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/bin/fetch_checksum?rev=1365475&r1=1365474&r2=1365475&view=diff
==============================================================================
--- geronimo/site/trunk/bin/fetch_checksum (original)
+++ geronimo/site/trunk/bin/fetch_checksum Wed Jul 25 07:06:53 2012
@@ -17,7 +17,8 @@
 
 version=$1
 baseurl="http://repo1.maven.org/maven2/org/apache/geronimo/assemblies"
-artifactList="geronimo-framework geronimo-jetty6-javaee5 geronimo-jetty6-minimal geronimo-tomcat6-javaee5
geronimo-tomcat6-minimal"
+#artifactList="geronimo-framework geronimo-jetty6-javaee5 geronimo-jetty6-minimal geronimo-tomcat6-javaee5
geronimo-tomcat6-minimal"
+artifactList="geronimo-framework geronimo-tomcat7-javaee6 geronimo-tomcat7-javaee6-web geronimo-tomcat7-minimal"
 echo "baseurl=$baseurl"
 echo "artifactList=$artifactList"
 if [ ! -d ./$version ]; then
@@ -26,23 +27,18 @@ if [ ! -d ./$version ]; then
 fi
 for artifactId in $artifactList
 do
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.tar.gz.md5 > ./$version/$artifactId-$version-bin.tar.gz.md5
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.tar.gz.sha1 > ./$version/$artifactId-$version-bin.tar.gz.sha1
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.tar.gz.asc.md5 > ./$version/$artifactId-$version-bin.tar.gz.asc.md5
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.tar.gz.asc.sha1 > ./$version/$artifactId-$version-bin.tar.gz.asc.sha1
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.zip.md5 > ./$version/$artifactId-$version-bin.zip.md5
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.zip.sha1 > ./$version/$artifactId-$version-bin.zip.sha1
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.zip.asc.md5 > ./$version/$artifactId-$version-bin.zip.asc.md5
-    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.zip.asc.sha1 > ./$version/$artifactId-$version-bin.zip.asc.sha1
+    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.tar.gz.asc > ./$version/$artifactId-$version-bin.tar.gz.asc
+    curl $baseurl/$artifactId/$version/$artifactId-$version-bin.zip.asc > ./$version/$artifactId-$version-bin.zip.asc
 done
 
 #fetch source tar/zip checksum files
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.md5
> ./$version/geronimo-$version-source-release.tar.gz.md5
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.sha1
> ./$version/geronimo-$version-source-release.tar.gz.sha1
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc.md5
> ./$version/geronimo-$version-source-release.tar.gz.asc.md5
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc.sha1
> ./$version/geronimo-$version-source-release.tar.gz.asc.sha1
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.md5
> ./$version/geronimo-$version-source-release.zip.md5
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.sha1
> ./$version/geronimo-$version-source-release.zip.sha1
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc.md5
> ./$version/geronimo-$version-source-release.zip.asc.md5
-curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc.sha1
> ./$version/geronimo-$version-source-release.zip.asc.sha1
-
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.md5
> ./$version/geronimo-$version-source-release.tar.gz.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.sha1
> ./$version/geronimo-$version-source-release.tar.gz.sha1
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc.md5
> ./$version/geronimo-$version-source-release.tar.gz.asc.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc.sha1
> ./$version/geronimo-$version-source-release.tar.gz.asc.sha1
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.md5
> ./$version/geronimo-$version-source-release.zip.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.sha1
> ./$version/geronimo-$version-source-release.zip.sha1
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc.md5
> ./$version/geronimo-$version-source-release.zip.asc.md5
+#curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc.sha1
> ./$version/geronimo-$version-source-release.zip.asc.sha1
+curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.tar.gz.asc
> ./$version/geronimo-$version-source-release.tar.gz.asc
+curl http://repo1.maven.org/maven2/org/apache/geronimo/geronimo/$version/geronimo-$version-source-release.zip.asc
> ./$version/geronimo-$version-source-release.zip.asc



Mime
View raw message