Skip to content

Commit 2586f09

Browse files
committed
ci-build.sh: allow SCM URL .git suffix
The .git suffix is not wrong, but it is optional. If the POM has included it, we don't want to consider the project a fork.
1 parent 52bc25e commit 2586f09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ EOL
8787
# Determine whether deploying will be possible.
8888
deployOK=
8989
scmURL=$(mvn -q -Denforcer.skip=true -Dexec.executable=echo -Dexec.args='${project.scm.url}' --non-recursive validate exec:exec 2>&1)
90+
scmURL=${scmURL%.git}
9091

9192
if [ $? -ne 0 ]; then
9293
echo "No deploy -- could not extract ciManagement URL"

0 commit comments

Comments
 (0)