Skip to content

Commit 4a0a3ac

Browse files
committed
improving nuspec info
1 parent 2b22b37 commit 4a0a3ac

3 files changed

Lines changed: 39 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ jobs:
5151
dotnet-version: ${{ env.DOTNET_VERSION }}
5252

5353
- name: Publish
54-
run: dotnet nuget push --api-key ${{ secrets.GITHUB_TOKEN }} --source ${{ env.GITHUB_SOURCE }} "*.nupkg"
54+
run: dotnet nuget push --api-key ${{ secrets.GITHUB_TOKEN }} --source ${{ env.GITHUB_SOURCE }} "FSharp.CosmosDB*.nupkg"
5555
working-directory: ${{ env.OUTPUT_PATH }}

src/FSharp.CosmosDb.Analyzer/FSharp.CosmosDb.Analyzer.fsproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netcoreapp2.0</TargetFramework>
4+
</PropertyGroup>
5+
6+
<!-- Source Link support -->
7+
<PropertyGroup>
8+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
49
<PublishRepositoryUrl>true</PublishRepositoryUrl>
10+
11+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
512
<EmbedUntrackedSources>true</EmbedUntrackedSources>
13+
14+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
15+
<IncludeSymbols>true</IncludeSymbols>
16+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
17+
</PropertyGroup>
18+
19+
<!-- NuGet package configuration -->
20+
<PropertyGroup>
21+
<Company>Aaron Powell</Company>
22+
<RepositoryUrl>https://github.com/aaronpowell/FSharp.CosmosDb</RepositoryUrl>
23+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
624
</PropertyGroup>
25+
726
<ItemGroup>
827
<Compile Include="Types.fs" />
928
<Compile Include="../shared/AsyncSeqExt.fs" />

src/FSharp.CosmosDb/FSharp.CosmosDb.fsproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netstandard2.0</TargetFramework>
4+
</PropertyGroup>
5+
6+
<!-- Source Link support -->
7+
<PropertyGroup>
8+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
49
<PublishRepositoryUrl>true</PublishRepositoryUrl>
10+
11+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
512
<EmbedUntrackedSources>true</EmbedUntrackedSources>
13+
14+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
15+
<IncludeSymbols>true</IncludeSymbols>
16+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
17+
</PropertyGroup>
18+
19+
<!-- NuGet package configuration -->
20+
<PropertyGroup>
21+
<Company>Aaron Powell</Company>
22+
<RepositoryUrl>https://github.com/aaronpowell/FSharp.CosmosDb</RepositoryUrl>
23+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
624
</PropertyGroup>
25+
726
<ItemGroup>
827
<Compile Include="../shared/AsyncSeqExt.fs" />
928
<Compile Include="../shared/MaybeBinder.fs" />

0 commit comments

Comments
 (0)