Add setup2.sh command
This commit is contained in:
parent
6238e80b08
commit
de67336d08
1 changed files with 4 additions and 1 deletions
|
@ -2,8 +2,11 @@
|
||||||
cd ~/live
|
cd ~/live
|
||||||
|
|
||||||
# 最新タグを取り込む
|
# 最新タグを取り込む
|
||||||
if [ "$1" != "newest" ]; then
|
if [ "$1" == "debug" ]; then
|
||||||
|
elif [ "$1" == "newest" ]; then
|
||||||
git checkout $(git tag -l | grep -E '^kb[0-9]' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
|
git checkout $(git tag -l | grep -E '^kb[0-9]' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
|
||||||
|
else
|
||||||
|
git checkout $(git tag -l | grep -E '^kb[0-9].*lts$' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Rubyバージョン管理用のrbenvをインストール、初期設定
|
# Rubyバージョン管理用のrbenvをインストール、初期設定
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue