addBackcompatIndexes.py: only create moreterms, dvupdates, and empty indexes on unstable branch

This commit is contained in:
Steve Rowe 2017-09-30 23:22:46 -04:00
parent 0e8d9411b0
commit ae5caf3fa6
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ def main():
create_and_add_index(source, 'cfs', c.version, current_version, c.temp_dir)
create_and_add_index(source, 'nocfs', c.version, current_version, c.temp_dir)
create_and_add_index(source, 'sorted', c.version, current_version, c.temp_dir)
if c.version.minor == 0 and c.version.bugfix == 0:
if c.version.minor == 0 and c.version.bugfix == 0 and c.version.major < current_version.major:
create_and_add_index(source, 'moreterms', c.version, current_version, c.temp_dir)
create_and_add_index(source, 'dvupdates', c.version, current_version, c.temp_dir)
create_and_add_index(source, 'emptyIndex', c.version, current_version, c.temp_dir)