Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
81d50c7c
Unverified
Commit
81d50c7c
authored
Jan 15, 2019
by
Nikita Titov
Committed by
GitHub
Jan 15, 2019
Browse files
autoincrement year in NuGet description (#1948)
parent
19c10824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
.nuget/create_nuget.py
.nuget/create_nuget.py
+3
-2
No files found.
.nuget/create_nuget.py
View file @
81d50c7c
# coding: utf-8
"""Script for generating files with NuGet package metadata."""
import
datetime
import
os
import
sys
...
...
@@ -37,7 +38,7 @@ if __name__ == "__main__":
<projectUrl>https://github.com/Microsoft/LightGBM</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A fast, distributed, high performance gradient boosting framework</description>
<copyright>Copyright
2018
@ Microsoft</copyright>
<copyright>Copyright
%d
@ Microsoft</copyright>
<tags>machine-learning data-mining distributed native boosting gbdt</tags>
<dependencies> </dependencies>
</metadata>
...
...
@@ -46,7 +47,7 @@ if __name__ == "__main__":
<file src="runtimes\**" target="runtimes"/>
</files>
</package>
'''
%
version
'''
%
(
version
,
datetime
.
datetime
.
now
().
year
)
prop_str
=
'''
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="Exists('packages.config') OR
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment