Skip to content

Commit 2b8acf7

Browse files
committed
Fix packaging
1 parent e9bc775 commit 2b8acf7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Publish NuGet packages
3030
run: |
3131
mkdir build
32-
dotnet pack -c Release -o build
32+
dotnet pack -c Release -o build /p:Version=${{ github.event.release.tag_name }}
3333
dotnet nuget push "build/*" -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json
3434
- name: Upload NuGet packages to GitHub Actions
3535
uses: actions/upload-artifact@v3

src/HyperSharp.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1717
</PropertyGroup>
1818
<ItemGroup>
19-
<EmbeddedResource Include="../LICENSE" />
20-
<EmbeddedResource Include="../README.md" />
19+
<EmbeddedResource Include="../LICENSE" Pack="true" PackagePath="" />
20+
<EmbeddedResource Include="../README.md" Pack="true" PackagePath="" />
2121
</ItemGroup>
2222
<ItemGroup>
2323
<PackageReference Include="FluentResults" Version="3.15.2" />

0 commit comments

Comments
 (0)