mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Merge pull request #344 from bpinto/another_attempt_to_fix_travis_builds
correctly checkout branch on travis install
This commit is contained in:
commit
476fa278b5
@ -58,7 +58,7 @@ end
|
|||||||
# Either git clone or curl GET repository.
|
# Either git clone or curl GET repository.
|
||||||
log blue "Cloning Oh My Fish from remote repository..."
|
log blue "Cloning Oh My Fish from remote repository..."
|
||||||
if type git >/dev/null
|
if type git >/dev/null
|
||||||
git clone "https://github.com/$TRAVIS_REPO_SLUG.git" $fish_path
|
git clone -b $TRAVIS_BRANCH "https://github.com/$TRAVIS_REPO_SLUG.git" $fish_path
|
||||||
else
|
else
|
||||||
log yellow "Install git to pull Oh-My-Fish updates"
|
log yellow "Install git to pull Oh-My-Fish updates"
|
||||||
log white "Downloading remote zip from Github..."
|
log white "Downloading remote zip from Github..."
|
||||||
|
Loading…
Reference in New Issue
Block a user