subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1088882 - /subversion/trunk/tools/dist/nightly.sh
Date Tue, 05 Apr 2011 04:11:57 GMT
Author: danielsh
Date: Tue Apr  5 04:11:57 2011
New Revision: 1088882

URL: http://svn.apache.org/viewvc?rev=1088882&view=rev
Log:
* tools/dist/nightly.sh: Create static aliases for the most recent build.

Modified:
    subversion/trunk/tools/dist/nightly.sh

Modified: subversion/trunk/tools/dist/nightly.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/nightly.sh?rev=1088882&r1=1088881&r2=1088882&view=diff
==============================================================================
--- subversion/trunk/tools/dist/nightly.sh (original)
+++ subversion/trunk/tools/dist/nightly.sh Tue Apr  5 04:11:57 2011
@@ -82,6 +82,12 @@ if [ -d "$target/dist/r$head" ]; then rm
 rm -r roll/deploy/to-tigris
 mv roll/deploy "$target/dist/r$head"
 
+# Some static links for the most recent artefacts.
+ln -sf "r$head" "$target/dist/current"
+ls "$target/dist/r$head" | while read fname; do
+  ln -s "r$head/$fname" "$target/dist/$fname"
+done
+
 # Clean up old results
 ls -t1 "$target/dist/" | sed -e "1,${olds}d" | while read d; do
   rm -rf "$target/dist/$d"



Mime
View raw message