ruby-changes:32351
From: usa <ko1@a...>
Date: Thu, 26 Dec 2013 01:24:58 +0900 (JST)
Subject: [ruby-changes:32351] usa:r44430 (trunk): * tool/release.sh: fixed small bugs.
usa 2013-12-26 01:24:53 +0900 (Thu, 26 Dec 2013) New Revision: 44430 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44430 Log: * tool/release.sh: fixed small bugs. Modified files: trunk/tool/release.sh Index: tool/release.sh =================================================================== --- tool/release.sh (revision 44429) +++ tool/release.sh (revision 44430) @@ -23,13 +23,16 @@ done https://github.com/ruby/ruby/blob/trunk/tool/release.sh#L23 for r in $releases do xy=`echo $r|grep -o '[0-9]\.[0-9]'` + preview=`echo $r|grep -o '-\(preview\|rc\)'` dir="${RUBYDIR}/$xy" echo "$dir" mkdir -p $dir - for ext in (.tar.gz .tar.bz2 .zip) + for ext in $EXTS do cp $r$ext $dir/$r$ext ln -s $xy/$r$ext ${RUBYDIR}/$r$ext - ln -s $xy/$r$ext ${RUBYDIR}/ruby-$xy-stable$ext + if [ x$preview = x ];then + ln -s $xy/$r$ext ${RUBYDIR}/ruby-$xy-stable$ext + fi done done -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/