fix: Add branch variable to Linux VM setup script (#1462)

This commit is contained in:
Tristan Roscoe
2020-11-27 03:07:57 -05:00
committed by GitHub
parent f397c0c087
commit 88f5f825b7
2 changed files with 10 additions and 2 deletions

View File

@@ -48,7 +48,11 @@ rvm use 2.7.2 --default
git clone https://github.com/chatwoot/chatwoot.git
cd chatwoot
git checkout master
if [[ -z $1 ]]; then
git checkout master;
else
git checkout $1;
fi
bundle
yarn

View File

@@ -48,7 +48,11 @@ rvm use 2.7.2 --default
git clone https://github.com/chatwoot/chatwoot.git
cd chatwoot
git checkout master
if [[ -z $1 ]]; then
git checkout master;
else
git checkout $1;
fi
bundle
yarn