8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 199784f commit 03621c8Copy full SHA for 03621c8
travisify.sh
@@ -66,7 +66,7 @@ process() {
66
cd "$1"
67
68
# -- Git sanity checks --
69
- repoSlug=$(git remote -v | grep origin | head -n1 | sed 's/.*github.com.\([^ ]*\) .*/\1/')
+ repoSlug=$(git remote -v | grep origin | head -n1 | sed 's/.*github.com.\([^ ]*\) .*/\1/' | sed 's/\.git$//')
70
test "$repoSlug" && info "Repository = $repoSlug" || die 'Could not determine GitHub repository slug'
71
git fetch >/dev/null
72
git diff-index --quiet HEAD -- || die "Dirty working copy"
0 commit comments