Skip to content

Commit

Permalink
[CI] fix nuget version
Browse files Browse the repository at this point in the history
  • Loading branch information
guolinke committed Aug 7, 2020
1 parent 63c8287 commit 33af069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .nuget/create_nuget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
Expand Down

0 comments on commit 33af069

Please sign in to comment.