Fixed path generation for non numeric release tags

This commit is contained in:
Jonas Niesner
2023-05-27 22:46:01 +02:00
committed by GitHub
parent 3e4175a790
commit e91891d283

View File

@@ -50,8 +50,7 @@ rp = os.getcwd()
now = datetime.now()
dt_string = now.strftime("%d/%m/%Y %H:%M:%S")
tag = sys.argv[1]
match = re.search(r'\d+\.\d+', tag)
tag = match.group()
tag = tag[10:]
binaries = generate_file_hashes2(rp + "/espbinaries",tag)
tagota = generate_file_hashes2(rp + "/binaries",tag)