Skip to content

Commit

Permalink
fix: final
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Oct 3, 2023
1 parent 365e0e7 commit c40d6f8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 19 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,7 @@ jobs:
run: dotnet test -c Release --no-build --verbosity normal

- name: Pack
run: |
PACK_OPTIONS="/p:Authors=ikpil"
PACK_OPTIONS+=" /p:Description=\"Small & portable byte-aligned LZ77 compression for C#\""
PACK_OPTIONS+=" /p:RepositoryType=git"
PACK_OPTIONS+=" /p:PackageProjectUrl=https://github.com/ikpil/DotFastLZ"
PACK_OPTIONS+=" /p:RepositoryUrl=https://github.com/ikpil/DotFastLZ"
PACK_OPTIONS+=" /p:PackageTags=\"compression fastlz unity3d lz77\""
dotnet pack $PACK_OPTIONS /p:PackageVersion=${{ github.event.inputs.version }} -c Release --nologo --output working-nuget
run: dotnet pack -p:PackageVersion=${{ github.event.inputs.version }} -c Release --nologo --output working-nuget

- name: Publish the package to nuget.org
run: dotnet nuget push ./working-nuget/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
Expand Down
22 changes: 14 additions & 8 deletions src/DotFastLZ.Compression/DotFastLZ.Compression.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>DotFastLZ.Compression</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>DotFastLZ.Compression</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>ikpil</Authors>
<Description>Small and portable byte-aligned LZ77 compression for C#</Description>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/ikpil/DotFastLZ</PackageProjectUrl>
<RepositoryUrl>https://github.com/ikpil/DotFastLZ</RepositoryUrl>
<PackageTags>compression fastlz unity3d lz77</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
10 changes: 8 additions & 2 deletions src/DotFastLZ.Packaging.Tools/DotFastLZ.Packaging.Tools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@
<AssemblyName>6pack</AssemblyName>
<PackageId>DotFastLZ.Packaging.Tools</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>ikpil</Authors>
<Description>Small and portable byte-aligned LZ77 compression for C#</Description>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/ikpil/DotFastLZ</PackageProjectUrl>
<RepositoryUrl>https://github.com/ikpil/DotFastLZ</RepositoryUrl>
<PackageTags>compression fastlz unity3d lz77</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DotFastLZ.Packaging\DotFastLZ.Packaging.csproj" />
<ProjectReference Include="..\DotFastLZ.Packaging\DotFastLZ.Packaging.csproj"/>
</ItemGroup>

</Project>
8 changes: 7 additions & 1 deletion src/DotFastLZ.Packaging/DotFastLZ.Packaging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>DotFastLZ.Packaging</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>ikpil</Authors>
<Description>Small and portable byte-aligned LZ77 compression for C#</Description>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/ikpil/DotFastLZ</PackageProjectUrl>
<RepositoryUrl>https://github.com/ikpil/DotFastLZ</RepositoryUrl>
<PackageTags>compression fastlz unity3d lz77</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DotFastLZ.Compression\DotFastLZ.Compression.csproj" />
<ProjectReference Include="..\DotFastLZ.Compression\DotFastLZ.Compression.csproj"/>
</ItemGroup>

</Project>

0 comments on commit c40d6f8

Please sign in to comment.