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 {
5151 String version = (String ) project .getVersion ();
5252 String branchVersion = getBranchVersion (project );
5353 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" );
5555 return ;
5656 }
5757 if (!versionsMatch (version , branchVersion )) {
@@ -67,7 +67,7 @@ private static String getBranchVersion(Project project) throws IOException {
6767 exec .setErrorOutput (System .err );
6868 exec .setStandardOutput (baos );
6969 });
70- return baos .toString ();
70+ return baos .toString (). trim () ;
7171 }
7272 }
7373
You can’t perform that action at this time.
0 commit comments