Add gitlab support

This commit is contained in:
Luis Ramos 2015-02-06 10:57:02 -06:00
parent 26396b38bb
commit e96b5c5d1b

View file

@ -44,6 +44,10 @@ if grep -q github <<<$giturl; then
elif grep -q bitbucket <<<$giturl; then
giturl=${giturl/git\@bitbucket\.org\:/https://bitbucket.org/}
providerUrlDifference=branch
# gitlab support
elif grep -q gitlab <<<$giturl; then
giturl=${giturl/git\@gitlab\.com\:/https://gitlab.com/}
providerUrlDifference=tree
fi
giturl=${giturl%\.git}