зеркало из https://github.com/github/ruby.git
* tool/release.sh: fixed small bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3da2f01e30
Коммит
ab93604365
|
@ -23,13 +23,16 @@ done
|
|||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче