File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
buildSrc/src/main/java/org/springframework/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public void run() throws IOException {
51
51
String version = (String ) project .getVersion ();
52
52
String branchVersion = getBranchVersion (project );
53
53
if (!branchVersion .matches ("^[0-9]+\\ .[0-9]+\\ .x$" )) {
54
- System .out .println ("Branch version does not match *.x, ignoring" );
54
+ System .out .println ("Branch version '" + branchVersion + "' does not match *.x, ignoring" );
55
55
return ;
56
56
}
57
57
if (!versionsMatch (version , branchVersion )) {
@@ -67,7 +67,7 @@ private static String getBranchVersion(Project project) throws IOException {
67
67
exec .setErrorOutput (System .err );
68
68
exec .setStandardOutput (baos );
69
69
});
70
- return baos .toString ();
70
+ return baos .toString (). trim () ;
71
71
}
72
72
}
73
73
You can’t perform that action at this time.
0 commit comments