From bcf0d382a1b860e48c38fd59ae838da93ab1c5e4 Mon Sep 17 00:00:00 2001 From: CorwinAnsley Date: Thu, 5 Sep 2024 12:48:43 +0100 Subject: [PATCH] fixing update version script for github action --- artifice/update_version_number.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artifice/update_version_number.py b/artifice/update_version_number.py index 847ee42..e10912d 100644 --- a/artifice/update_version_number.py +++ b/artifice/update_version_number.py @@ -29,8 +29,8 @@ def update_mac_version_number(version_number, application_name): def update_windows_version(version_number, application_name): # Updating the InnoSetup .iss file - replace_line(f'{BASE_PATH}windows_build\dist\{application_name}_installer.iss','AppVersion=',f'AppVersion={version_number}') - replace_line(f'{BASE_PATH}windows_build\dist\{application_name}_installer.iss','OutputBaseFilename=',f'OutputBaseFilename={application_name}v{version_number}_installer_windows') + replace_line(f'{BASE_PATH}windows_build/dist/{application_name}_installer.iss','AppVersion=',f'AppVersion={version_number}') + replace_line(f'{BASE_PATH}windows_build/dist/{application_name}_installer.iss','OutputBaseFilename=',f'OutputBaseFilename={application_name}v{version_number}_installer_windows') # helper function to replace lines def replace_line(filepath, search_string, replace_strings, encoding=None):