dmitry-brazhenko / SharpToken

SharpToken is a C# library for tokenizing natural language text. It's based on the tiktoken Python library and designed to be fast and accurate.
https://www.nuget.org/packages/SharpToken
MIT License
214 stars 14 forks source link

Add Microsoft.SourceLink.GitHub to publish repo info/commit to nuget.org #3

Closed kzu closed 1 year ago

kzu commented 1 year ago

Right now, there's no repo info in nuget.org about the project.

Would be nice to get that as well as commit info. The above package can provide that.

Just set the following project properties:

    <PackageProjectUrl>[if different from repo ]</PackageProjectUrl>
    <PublishRepositoryUrl>true</PublishRepositoryUrl>
dmitry-brazhenko commented 1 year ago

Hey @kzu !

Thanks for reaching out. I added it here: https://github.com/dmitry-brazhenko/SharpToken/commit/42d9dc1221ab2887d19f0b1f5ff5b89af5d4aad4

Hope it will work :)