Commit 7880535e authored by Francois Merlin's avatar Francois Merlin
Browse files

RELEASER-21 : -The release do not work for github and gitlab components when...

RELEASER-21 : -The release do not work for github and gitlab components when the scm url do not contains .git extension
parent a79b02ef
......@@ -54,7 +54,7 @@ public abstract class AbstractReleaserResource implements IReleaserResource
RepositoryType repositoryType = null;
if ( !StringUtils.isEmpty( getScmUrl( ) ) )
{
if ( getScmUrl( ).endsWith( ".git" ) )
if ( !getScmUrl( ).contains( "scm:svn" ) )
{
if ( getScmUrl( ).contains( "https://github." ) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment