Skip to content

Commit d90f546

Browse files
authored
Merge branch 'master' into release/1.6.0
2 parents 9b43b76 + 8a0b932 commit d90f546

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/e_gineering/maven/gitflowhelper/TagMasterMojo.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ protected void execute(final GitBranchType type, final String gitBranch, final S
3232
gitURLExpression = ScmUtils.resolveUrlOrExpression(project, getLog());
3333
}
3434
String gitURL = resolveExpression(gitURLExpression);
35+
if (!gitURL.startsWith("scm:git:")) {
36+
gitURL = "scm:git:" + gitURL;
37+
}
3538
getLog().debug("gitURLExpression: '" + gitURLExpression + "' resolved to: '" + gitURL + "'");
3639
ExpansionBuffer eb = new ExpansionBuffer(gitURL);
3740
if (!eb.hasMoreLegalPlaceholders()) {

0 commit comments

Comments
 (0)