You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2010/08/30 04:18:14 UTC

svn commit: r990687 - in /commons/proper/pool/trunk: pool-RC.sh pool-pre-RC.sh

Author: psteitz
Date: Mon Aug 30 02:18:14 2010
New Revision: 990687

URL: http://svn.apache.org/viewvc?rev=990687&view=rev
Log:
Added RC prep scripts.

Added:
    commons/proper/pool/trunk/pool-RC.sh   (with props)
    commons/proper/pool/trunk/pool-pre-RC.sh   (with props)

Added: commons/proper/pool/trunk/pool-RC.sh
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/pool-RC.sh?rev=990687&view=auto
==============================================================================
--- commons/proper/pool/trunk/pool-RC.sh (added)
+++ commons/proper/pool/trunk/pool-RC.sh Mon Aug 30 02:18:14 2010
@@ -0,0 +1,65 @@
+#!/bin/sh
+#
+# 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.
+# -----------------------------------------------------------------------------
+#
+# Shell script to create commons pool RCs.
+# This script should be run from a fresh checkout of the RC tag.
+#
+# $Revision$ $Date$
+# -----------------------------------------------------------------------------
+# Set script variables
+version=1.5.5
+repo_path=~/.m2/repository/commons-pool/commons-pool/${version}
+release_path=~/pool-release
+#
+# Delete any locally installed artifacts from previous runs
+rm -rf ${repo_path}
+echo "Cleaned maven repo."
+rm -rf ${release_path}
+echo "Cleaned local release directory"
+mvn clean
+#
+# Generate the release artifacts and install them locally
+mvn assembly:assembly
+mvn -Prc -DcreateChecksum=true install
+#
+# Copy the zips/tarballs and release notes to the release directory
+mkdir ${release_path}
+cp ${repo_path}/*.zip ${release_path}
+cp ${repo_path}/*.zip.* ${release_path}
+cp ${repo_path}/*.gz ${release_path}
+cp ${repo_path}/*.gz.* ${release_path}
+cp RELEASE-NOTES.txt ${release_path}
+#
+# Copy site
+cp -R target/site ${release_path}
+#
+# Copy maven artifacts
+cp -R ${repo_path} ${release_path}
+#
+# Rename maven, site directories
+mv ${release_path}/${version} ${release_path}/maven
+mv ${release_path}/site ${release_path}/docs
+echo "Artifacts copied."
+#
+# Delete tars/zips from maven subdirectory
+rm ${release_path}/maven/*.zip
+rm ${release_path}/maven/*.zip*
+rm ${release_path}/maven/*.gz
+rm ${release_path}/maven/*.gz*
+echo "Release candidate complete"
+

Propchange: commons/proper/pool/trunk/pool-RC.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/proper/pool/trunk/pool-RC.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: commons/proper/pool/trunk/pool-RC.sh
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Added: commons/proper/pool/trunk/pool-pre-RC.sh
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/pool-pre-RC.sh?rev=990687&view=auto
==============================================================================
--- commons/proper/pool/trunk/pool-pre-RC.sh (added)
+++ commons/proper/pool/trunk/pool-pre-RC.sh Mon Aug 30 02:18:14 2010
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# 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.
+# -----------------------------------------------------------------------------
+#
+# Shell script to update download page and release notes prior
+# to preparing a commons pool release candidate.
+#
+# Note: RELEASE-NOTES.txt may need a little reformatting prior
+# to checkin.  Both RELEASE-NOTES.txt and the generated download
+# page need to be checked in after review.
+#
+# $Revision$ $Date$
+# ----------------------------------------------------------------------------
+mvn changes:announcement-generate
+mv target/announcement/pool-release-notes.vm RELEASE-NOTES.txt
+mvn commons:download-page

Propchange: commons/proper/pool/trunk/pool-pre-RC.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/proper/pool/trunk/pool-pre-RC.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: commons/proper/pool/trunk/pool-pre-RC.sh
------------------------------------------------------------------------------
    svn:keywords = Date Revision