Skip to content

Commit cbdb3e0

Browse files
authored
Merge pull request #3 from devexperts/nuget-metadata
2 parents 25d29bf + d09a72a commit cbdb3e0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
run: dotnet pack dotMap/dotMap.csproj -c Release
7373

7474
- name: Publish to nuget.org
75-
run: dotnet nuget push dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg --api-key "${{secrets.NUGET_API_KEY}}" --source https://api.nuget.org/v3/index.json --skip-duplicate
75+
run: dotnet nuget push dotMap/bin/Release/dotMap.${{env.release-version}}.nupkg --api-key "${{secrets.NUGET_API_KEY}}" --source https://api.nuget.org/v3/index.json
7676

7777
- name: Publish artifacts
7878
uses: actions/upload-artifact@v4

dotMap/dotMap.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<Title>dotMap</Title>
1313
<Version>0.0.0</Version>
1414
<Description>Convention-based object-to-object compile time mapper for .NET</Description>
15-
<Authors>Sergey Aseev (Serg046)</Authors>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
16+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1617
<Company>Devexperts</Company>
1718
<PackageProjectUrl>https://github.com/devexperts/dotMap</PackageProjectUrl>
1819
<RepositoryUrl>https://github.com/devexperts/dotMap</RepositoryUrl>
@@ -24,9 +25,9 @@
2425
<ItemGroup>
2526
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="All" />
2627
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="All" />
27-
</ItemGroup>
28-
<ItemGroup>
29-
<InternalsVisibleTo Include="dotMap.UnitTests" />
3028
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
29+
<InternalsVisibleTo Include="dotMap.UnitTests" />
30+
<None Include="..\README.md" Pack="true" PackagePath="\"/>
31+
<None Include="..\LICENSE" Pack="true" PackagePath=""/>
3132
</ItemGroup>
3233
</Project>

0 commit comments

Comments
 (0)