mirror of https://github.com/apache/lucene.git
swap version in is_back_compat_with calls
This commit is contained in:
parent
326db813fa
commit
e9f3684967
|
@ -217,7 +217,7 @@ def main():
|
||||||
update_changes('lucene/CHANGES.txt', c.version)
|
update_changes('lucene/CHANGES.txt', c.version)
|
||||||
update_changes('solr/CHANGES.txt', c.version, get_solr_init_changes())
|
update_changes('solr/CHANGES.txt', c.version, get_solr_init_changes())
|
||||||
|
|
||||||
if current_version.is_back_compat_with(c.version):
|
if c.version.is_back_compat_with(current_version):
|
||||||
add_constant(c.version, not c.is_latest_version)
|
add_constant(c.version, not c.is_latest_version)
|
||||||
else:
|
else:
|
||||||
print('\nNot adding constant for version %s because it is no longer supported' % c.version)
|
print('\nNot adding constant for version %s because it is no longer supported' % c.version)
|
||||||
|
@ -232,7 +232,7 @@ def main():
|
||||||
print('\nTODO: ')
|
print('\nTODO: ')
|
||||||
print(' - Move backcompat oldIndexes to unsupportedIndexes in TestBackwardsCompatibility')
|
print(' - Move backcompat oldIndexes to unsupportedIndexes in TestBackwardsCompatibility')
|
||||||
print(' - Update IndexFormatTooOldException throw cases')
|
print(' - Update IndexFormatTooOldException throw cases')
|
||||||
elif current_version.is_back_compat_with(c.version):
|
elif c.version.is_back_compat_with(current_version):
|
||||||
print('\nTesting changes')
|
print('\nTesting changes')
|
||||||
check_lucene_version_tests()
|
check_lucene_version_tests()
|
||||||
check_solr_version_tests()
|
check_solr_version_tests()
|
||||||
|
|
Loading…
Reference in New Issue