diff --git a/recipe/nuget-package.cake b/recipe/nuget-package.cake index 012632d..2c39369 100644 --- a/recipe/nuget-package.cake +++ b/recipe/nuget-package.cake @@ -105,10 +105,14 @@ public class NuGetPackage : PackageDefinition public override void BuildPackage() { + Console.WriteLine($"Building package from {PackageSource}"); if (string.IsNullOrEmpty(PackageSource)) _context.NuGetPack(NuGetPackSettings); else if (PackageSource.EndsWith(".nuspec")) + { + Console.WriteLine("Building Package"); _context.NuGetPack(PackageSource, NuGetPackSettings); + } else if (PackageSource.EndsWith(".csproj")) _context.MSBuild(PackageSource, new MSBuildSettings diff --git a/recipe/versioning.cake b/recipe/versioning.cake index ab5f6c3..ce636f0 100644 --- a/recipe/versioning.cake +++ b/recipe/versioning.cake @@ -8,7 +8,7 @@ public class BuildVersion // NOTE: This is complicated because (1) the user may have specified // the package version on the command-line and (2) GitVersion may // or may not be available. We'll work on solving (2) by getting - // GitVersion to run for us on Linux, but (1) will alwas remain. + // GitVersion to run for us on Linux, but (1) will always remain. // // We simplify things a by figuring out the full package version and // then parsing it to provide information that is used in the build.