I think one of the commits from the past week might have introduced a new bug:
2020-06-15 12:04:19,089 - autopromote - DEBUG - Package balenaEtcher 1.5.98 has no last_promoted value! Setting it to now.
2020-06-15 12:04:19,089 - autopromote - ERROR - local variable 'previous_pkg' referenced before assignment
Traceback (most recent call last):
File "autopromote.py", line 409, in <module>
main()
File "autopromote.py", line 401, in main
raise e
File "autopromote.py", line 391, in main
promotions = promote_pkgs(PKGINFOS_PATHS)
File "autopromote.py", line 328, in promote_pkgs
promoted, result = promote_pkg(plist, pkginfo)
File "autopromote.py", line 275, in promote_pkg
if previous_pkg:
UnboundLocalError: local variable 'previous_pkg' referenced before assignment
I think one of the commits from the past week might have introduced a new bug: