Skip to content

Commit

Permalink
Use Embedded Symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Turnerj committed Feb 8, 2022
1 parent 63999a8 commit aa8be03
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: 'Add NuGet source'
run: dotnet nuget add source https://nuget.pkg.github.com/TurnerSoftware/index.json --name GitHub --username Turnerj --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
- name: 'Upload NuGet package'
run: dotnet nuget push *.nupkg --api-key ${{secrets.GH_PACKAGE_REGISTRY_API_KEY}} --source GitHub --skip-duplicate --no-symbols true
run: dotnet nuget push *.nupkg --api-key ${{secrets.GH_PACKAGE_REGISTRY_API_KEY}} --source GitHub --skip-duplicate

push-to-nuget:
name: 'Push NuGet Packages'
Expand Down
47 changes: 23 additions & 24 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
<Project>

<PropertyGroup>
<RootNamespace>TurnerSoftware.Vibrancy</RootNamespace>
<PropertyGroup>
<RootNamespace>TurnerSoftware.Vibrancy</RootNamespace>

<Company>Turner Software</Company>
<Company>Turner Software</Company>

<PackageId>$(AssemblyName)</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/TurnerSoftware/Vibrancy</PackageProjectUrl>
<PackageBaseTags>vibrant,color,colour,imaging</PackageBaseTags>
<PackageId>$(AssemblyName)</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/TurnerSoftware/Vibrancy</PackageProjectUrl>
<PackageBaseTags>vibrant,color,colour,imaging</PackageBaseTags>

<!-- SourceLink Support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- SourceLink Support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>

<LangVersion>Latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="TurnerSoftware.BuildVersioning" Version="0.4.0" PrivateAssets="All" />
</ItemGroup>
<LangVersion>Latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="TurnerSoftware.BuildVersioning" Version="0.4.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\images\$(PackageIcon)" Pack="true" PackagePath="/" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\images\$(PackageIcon)" Pack="true" PackagePath="/" />
</ItemGroup>

</Project>
26 changes: 13 additions & 13 deletions src/TurnerSoftware.Vibrancy/TurnerSoftware.Vibrancy.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>TurnerSoftware.Vibrancy</AssemblyName>
<Title>TurnerSoftware.Vibrancy</Title>
<Description>Extract prominent colours from images</Description>
<PackageTags>$(PackageBaseTags)</PackageTags>
<Authors>James Turner</Authors>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>TurnerSoftware.Vibrancy</AssemblyName>
<Title>TurnerSoftware.Vibrancy</Title>
<Description>Extract prominent colours from images</Description>
<PackageTags>$(PackageBaseTags)</PackageTags>
<Authors>James Turner</Authors>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="2.0.0" />
</ItemGroup>

</Project>

0 comments on commit aa8be03

Please # to comment.