Skip to content

Commit 43732fc

Browse files
committed
Tweak to enable sourcelink
1 parent dd49841 commit 43732fc

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

OpenAI_API/OpenAI_API.csproj

+15-8
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,35 @@
1515
<Title>OpenAI API</Title>
1616
<PackageReleaseNotes>Updated to work with the current API as of February 3, 2023. Added Files and Embedding endpoints. Removed the Search endpoint as OpenAI has removed that API. Potentially breaking change with v1.4: The various endpoints (Completions, Models, etc) and related classes have each moved into their own namespaces, for example `OpenAI_API.Completions.CompletionRequest` and `OpenAI_API.Models.Model.DavinciText`. You may need to add `using`s or fully qualify names in exisitng code.</PackageReleaseNotes>
1717
<PackageId>OpenAI</PackageId>
18-
<Version>1.4.0</Version>
19-
<AssemblyVersion>1.4.0.0</AssemblyVersion>
20-
<FileVersion>1.4.0.0</FileVersion>
18+
<Version>1.4.1</Version>
19+
<AssemblyVersion>1.4.1.0</AssemblyVersion>
20+
<FileVersion>1.4.1.0</FileVersion>
2121
<GenerateDocumentationFile>True</GenerateDocumentationFile>
2222
<PackageReadmeFile>README.md</PackageReadmeFile>
2323
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
2424
<RepositoryType>git</RepositoryType>
25-
<IncludeSymbols>True</IncludeSymbols>
25+
26+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
27+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
28+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
29+
<IncludeSymbols>true</IncludeSymbols>
2630
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
31+
2732
<Deterministic>true</Deterministic>
33+
2834
</PropertyGroup>
2935

3036
<ItemGroup>
31-
<None Include="..\README.md">
32-
<Pack>True</Pack>
33-
<PackagePath>\</PackagePath>
34-
</None>
37+
<None Include="..\README.md">
38+
<Pack>True</Pack>
39+
<PackagePath>\</PackagePath>
40+
</None>
3541
</ItemGroup>
3642

3743
<ItemGroup>
3844
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.1" />
3945
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
46+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
4047
</ItemGroup>
4148

4249
</Project>

0 commit comments

Comments
 (0)