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

This commit is contained in:
Tristan Roscoe
2020-11-27 13:37:57 +05:30
committed by GitHub
parent f397c0c087
commit 88f5f825b7
2 changed files with 10 additions and 2 deletions
+5 -1
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
+5 -1
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