File tree 1 file changed +3
-0
lines changed 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ process() {
66
66
cd " $1 "
67
67
68
68
# -- Git sanity checks --
69
+
69
70
repoSlug=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="scm"]/*[local-name()="connection"]' pom.xml| sed ' s_.*github.com[:/]\(.*\)<.*_\1_' )
70
71
test " $repoSlug " && info " Repository = $repoSlug " || die ' Could not determine GitHub repository slug'
71
72
case " $repoSlug " in
@@ -83,6 +84,7 @@ process() {
83
84
# die "Mismatch with upstream branch (local ahead?)"
84
85
85
86
# -- POM sanity checks --
87
+
86
88
parent=$( xmllint --xpath ' //*[local-name()="project"]/*[local-name()="parent"]/*[local-name()="artifactId"]' pom.xml| sed ' s/[^>]*>//' | sed ' s/<.*//' )
87
89
if [ -z " $SKIP_PARENT_CHECK " ]
88
90
then
@@ -91,6 +93,7 @@ process() {
91
93
fi
92
94
93
95
# -- Travis sanity checks --
96
+
94
97
test -e " $travisDir " -a ! -d " $travisDir " && die " $travisDir is not a directory"
95
98
test -e " $travisConfig " -a ! -f " $travisConfig " && die " $travisConfig is not a regular file"
96
99
test -e " $travisConfig " && warn " $travisConfig already exists"
You can’t perform that action at this time.
0 commit comments