fix windows store package project for upload
This commit is contained in:
@@ -24,7 +24,7 @@ regex = re.compile(r'(.*<Identity[^>]+Version=)("\d+\.\d+\.\d+\.\d+")')
|
||||
with open(abs_path,'w') as new_file:
|
||||
with open(file_path) as old_file:
|
||||
for line in old_file:
|
||||
new_line = regex.sub(r'\1"%s"' % version_number, line)
|
||||
new_line = regex.sub(r'\1"%s.0"' % tag, line)
|
||||
new_file.write(new_line)
|
||||
close(fh)
|
||||
#Remove original file
|
||||
|
||||
Reference in New Issue
Block a user