We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03621c8 commit e08f110Copy full SHA for e08f110
1 file changed
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/' | sed 's/\.git$//')
+ repoSlug=$(grep '<connection>' pom.xml 2>/dev/null | sed 's/[^>]*>//' | sed 's/<.*//' | cut -d'/' -f4,5)
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