diff --git a/.nuget/create_nuget.py b/.nuget/create_nuget.py index 3f20393ffc28..b9862b3689fb 100644 --- a/.nuget/create_nuget.py +++ b/.nuget/create_nuget.py @@ -26,7 +26,7 @@ copy_file(os.path.join(source, "lib_lightgbm.dylib"), os.path.join(osx_folder_path, "lib_lightgbm.dylib")) copy_file(os.path.join(source, "lib_lightgbm.dll"), os.path.join(windows_folder_path, "lib_lightgbm.dll")) copy_file(os.path.join(source, "lightgbm.exe"), os.path.join(windows_folder_path, "lightgbm.exe")) - version = open(os.path.join(current_dir, os.path.pardir, 'VERSION.txt')).read().strip() + version = open(os.path.join(current_dir, os.path.pardir, 'VERSION.txt')).read().strip().replace('rc', '-rc') nuget_str = r"""