uschindler commented on a change in pull request #2649:
URL: https://github.com/apache/lucene-solr/pull/2649#discussion_r830460575



##########
File path: lucene/common-build.xml
##########
@@ -63,7 +63,7 @@
 
   <fail message="If you pass -Dversion=... to set a release version, it must 
match &quot;${version.base}&quot;, optionally followed by a suffix (e.g., 
&quot;-SNAPSHOT&quot;).">
     <condition>
-      <not><matches pattern="^\Q${version.base}\E(|\-.*)$" 
casesensitive="true" string="${version}"/></not>
+      <not><matches pattern="^\Q${version.base}\E(|.*)$" casesensitive="true" 
string="${version}"/></not>
     </condition>

Review comment:
       At least there must be a `\b` (boundary) instead of the dash. This would 
match a version like 1.2.34 as valid for q.w.e base version.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to