print pandora versions during update

This commit is contained in:
j 2024-09-16 09:06:10 +01:00
parent a8aa619217
commit 18cbf0ec9c

View file

@ -322,6 +322,7 @@ if __name__ == "__main__":
current_branch = get_branch(path) current_branch = get_branch(path)
revno = get_version(path) revno = get_version(path)
if repo == 'pandora': if repo == 'pandora':
print("Pandora Version pre update: ", revno)
pandora_old_revno = revno pandora_old_revno = revno
current += revno current += revno
if current_branch != branch: if current_branch != branch:
@ -345,6 +346,7 @@ if __name__ == "__main__":
new += '+' new += '+'
os.chdir(join(base, 'pandora')) os.chdir(join(base, 'pandora'))
if pandora_old_revno != pandora_new_revno: if pandora_old_revno != pandora_new_revno:
print("Pandora Version post update: ", pandora_new_revno)
os.chdir(base) os.chdir(base)
run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno) run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno)
os.chdir(join(base, 'pandora')) os.chdir(join(base, 'pandora'))