janhoy commented on a change in pull request #2575:
URL: https://github.com/apache/lucene-solr/pull/2575#discussion_r712437676
##########
File path: dev-tools/scripts/smokeTestRelease.py
##########
@@ -170,11 +170,15 @@ def checkJARMetaData(desc, jarFile, gitRevision, version):
if gitRevision != 'skip':
# Make sure this matches the version and git revision we think we are
releasing:
- # TODO: LUCENE-7023: is it OK that Implementation-Version's value now
spans two lines?
- verifyRevision = 'Implementation-Version: %s %s' % (version, gitRevision)
- if s.find(verifyRevision) == -1:
- raise RuntimeError('%s is missing "%s" inside its META-INF/MANIFEST.MF
(wrong git revision?)' % \
+ match = re.search("Implementation-Version: (.+\r\n .+)", s, re.MULTILINE)
Review comment:
Will the MANIFEST line endings always be `CRLF` ? According to the spec
it could be `CR LF | LF | CR`...
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]