Skip to content

Commit 8cdd432

Browse files
authored
add readme file to package (#110)
* add license file to package * add nuget package creation to ci
1 parent 77fcde0 commit 8cdd432

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ jobs:
1414
uses: actions/setup-dotnet@v1
1515
with:
1616
dotnet-version: '3.1.x'
17+
- uses: nuget/setup-nuget@v1
18+
with:
19+
nuget-version: '5.x'
1720
- run: dotnet test src --configuration Release --filter 'TestCategory=Completed'
21+
- run: nuget pack src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.nuspec

src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.nuspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<id>FluentAssertions.Analyzers</id>
55
<title>Fluent Assertions Analyzers</title>
66
<version>0.12.0</version>
7+
<readme>docs\README.md</readme>
78
<owners>Meir Blachman</owners>
89
<authors>Meir Blachman</authors>
910
<summary>
@@ -13,7 +14,7 @@
1314
Analyzers to help writing fluentassertions the right way.
1415
</description>
1516
<language>en-US</language>
16-
<licenseUrl>https://github.com/fluentassertions/fluentassertions.analyzers/blob/master/LICENSE</licenseUrl>
17+
<license type="file">LICENSE</license>
1718
<iconUrl>https://raw.githubusercontent.com/fluentassertions/fluentassertions.analyzers/master/assets/fluent_assertions.svg.png</iconUrl>
1819
<projectUrl>https://github.com/fluentassertions/fluentassertions.analyzers</projectUrl>
1920
<requireLicenseAcceptance>false</requireLicenseAcceptance>
@@ -30,5 +31,7 @@
3031
<files>
3132
<file src="bin\**\*.dll" target="analyzers\dotnet\cs" exclude="**\Microsoft.CodeAnalysis.*;**\System.Collections.Immutable.*;**\System.Reflection.Metadata.*;**\System.Composition.*" />
3233
<file src="tools\*.ps1" target="tools\" />
34+
<file src="..\..\README.md" target="docs\" />
35+
<file src="..\..\LICENSE" target="\LICENSE" />
3336
</files>
3437
</package>

0 commit comments

Comments
 (0)