Skip to content

Commit a3af52a

Browse files
refactor: small change to packaging
release notes don't event show up any more.. just switch to readme, move icon up to top level, and use the license file instead of license expression
1 parent d058c2e commit a3af52a

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
outputs:
1313
version: ${{ steps.get_release.outputs.tag_name }}
14-
notes: ${{ steps.get_release.outputs.body }}
1514
steps:
1615
- id: get_release
1716
uses: bruceadams/[email protected]
@@ -22,8 +21,6 @@ jobs:
2221
name: Publish to Nuget.org
2322
runs-on: ubuntu-latest
2423
needs: extract
25-
env:
26-
NOTES: ${{ needs.extract.outputs.notes }}
2724
steps:
2825
- name: Checkout Repository
2926
uses: actions/checkout@v2
@@ -43,6 +40,6 @@ jobs:
4340
- name: Run Project Tests
4441
run: dotnet test EntityDb.sln --no-restore -c Debug
4542
- name: Pack Projects into Nuget Packages
46-
run: dotnet pack EntityDb.sln --no-restore -c Release /p:Version=${{ needs.extract.outputs.version }} /p:PackageReleaseNotes=${Env:NOTES}
43+
run: dotnet pack EntityDb.sln --no-restore -c Release /p:Version=${{ needs.extract.outputs.version }}
4744
- name: Publish to Nuget.org
4845
run: dotnet nuget push */**.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
File renamed without changes.

src/Directory.Build.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
<IsPackable>true</IsPackable>
1414
<IncludeSymbols>true</IncludeSymbols>
1515
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
16-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1716
<Authors>Chris Philips</Authors>
1817
<Company>entitydb.io</Company>
1918
<Copyright>2021 © entitydb.io</Copyright>
20-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2119
<RepositoryUrl>https://github.com/entitydb-io/entitydb</RepositoryUrl>
2220
<RepositoryType>git</RepositoryType>
2321
<NeutralLanguage>en</NeutralLanguage>
2422
<PackageIcon>ICON.png</PackageIcon>
23+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
25+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2526
</PropertyGroup>
2627

2728
<ItemGroup>
28-
<None Include="..\ICON.png">
29-
<Pack>True</Pack>
30-
<PackagePath></PackagePath>
31-
</None>
29+
<None Include="..\..\ICON.png" Pack="true" PackagePath="\" />
30+
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" />
31+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
3232
</ItemGroup>
3333

3434
<ItemGroup>

0 commit comments

Comments
 (0)