Skip to content

Commit

Permalink
Merge branch 'release/2.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Feb 8, 2022
2 parents f85ea5f + baf552f commit 8f4a11e
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 14 deletions.
18 changes: 14 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2017
image: Visual Studio 2022

#---------------------------------#
# Build Script #
# Install .NET #
#---------------------------------#
install:
# Update to latest NuGet version since we require 5.3.0 for embedded icon
- ps: nuget update -self
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 2.1.818 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 3.1.414 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.402 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

#---------------------------------#
# Build Script #
#---------------------------------#
build_script:
- ps: .\build.ps1 -Target AppVeyor

Expand Down
16 changes: 11 additions & 5 deletions nuspec/nuget/Cake.Npm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@
<icon>icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<repository type="git" url="https://github.com/cake-contrib/Cake.Npm.git"/>
<tags>cake npm cake-build cake-contrib</tags>
<releaseNotes>https://github.com/cake-contrib/Cake.Npm/releases/tag/1.0.0</releaseNotes>
<tags>cake npm cake-addin cake-build cake-contrib</tags>
<releaseNotes>https://github.com/cake-contrib/Cake.Npm/releases/tag/2.0.0</releaseNotes>
</metadata>
<files>
<file src="..\..\..\..\nuspec\nuget\icon.png" target="" />
<file src="netstandard2.0\Cake.Npm.dll" target="lib\netstandard2.0" />
<file src="netstandard2.0\Cake.Npm.pdb" target="lib\netstandard2.0" />
<file src="netstandard2.0\Cake.Npm.xml" target="lib\netstandard2.0" />
<file src="netcoreapp3.1\Cake.Npm.dll" target="lib\netcoreapp3.1" />
<file src="netcoreapp3.1\Cake.Npm.pdb" target="lib\netcoreapp3.1" />
<file src="netcoreapp3.1\Cake.Npm.xml" target="lib\netcoreapp3.1" />
<file src="net5.0\Cake.Npm.dll" target="lib\net5.0" />
<file src="net5.0\Cake.Npm.pdb" target="lib\net5.0" />
<file src="net5.0\Cake.Npm.xml" target="lib\net5.0" />
<file src="net6.0\Cake.Npm.dll" target="lib\net6.0" />
<file src="net6.0\Cake.Npm.pdb" target="lib\net6.0" />
<file src="net6.0\Cake.Npm.xml" target="lib\net6.0" />
</files>
</package>
Binary file modified nuspec/nuget/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/Cake.Npm.Tests/Cake.Npm.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
Expand All @@ -10,8 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" />
<PackageReference Include="Cake.Testing" Version="1.0.0" />
<PackageReference Include="Cake.Core" Version="2.0.0" />
<PackageReference Include="Cake.Testing" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="Shouldly" Version="3.0.2" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Npm/Cake.Npm.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<AssemblyName>Cake.Npm</AssemblyName>
<RootNamespace>Cake.Npm</RootNamespace>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
Expand All @@ -21,6 +21,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Core" Version="2.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>

0 comments on commit 8f4a11e

Please sign in to comment.