Aditya Hase
5 years ago
2 changed files with 3 additions and 10 deletions
@ -1,8 +0,0 @@ |
|||
#!/bin/bash |
|||
|
|||
cd ~/ |
|||
curl -I https://github.com/frappe/frappe/tree/$TRAVIS_BRANCH | head -n 1 | cut -d $' ' -f2 | ( |
|||
read response; |
|||
[ $response == '200' ] && branch=$TRAVIS_BRANCH || branch='develop'; |
|||
bench init frappe-bench --frappe-path https://github.com/frappe/frappe.git --frappe-branch $branch --python $(which python) |
|||
) |
Loading…
Reference in new issue