From 47b77514e9b5f3f44cf31d3eb881cee57cb15939 Mon Sep 17 00:00:00 2001 From: Charlie Poole Date: Tue, 25 Jul 2017 22:36:40 +0100 Subject: [PATCH 1/2] Add CHANGES.txt file --- CHANGES.txt | 15 +++++++++++++++ build.cake | 20 +++++++++++++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 CHANGES.txt diff --git a/CHANGES.txt b/CHANGES.txt new file mode 100644 index 0000000..913ef45 --- /dev/null +++ b/CHANGES.txt @@ -0,0 +1,15 @@ +NUnit 3.5 - October 6, 2016 + + The first independent release of the nunit-project-loader extension. + +NUnit 3.6 - July 28, 2017 + + Fixes several packaging errors and adds a new chocolatey package. Runners and engines + installed under chocolatey will see and make use of this package. + + Issues Resolved + + * 2 Change API reference to released version + * 4 Create file of constants for XML element and attribute names + * 7 No license file in NuGet package + * 8 Integrate chocolatey package in release build script diff --git a/build.cake b/build.cake index 07a271d..dc343c1 100644 --- a/build.cake +++ b/build.cake @@ -11,6 +11,8 @@ var SOLUTION_FILE = "nunit-project-loader.sln"; var UNIT_TEST_ASSEMBLY = "nunit-project-loader.tests.dll"; var GITHUB_SITE = "https://github.com/nunit/nunit-project-loader"; var WIKI_PAGE = "https://github.com/nunit/docs/wiki/Console-Command-Line"; +var NUGET_ID = "NUnit.Extension.NUnitProjectLoader"; +var CHOCO_ID = "nunit-extension-nunit-project-loader"; var VERSION = "3.6.0"; // Metadata used in the nuget and chocolatey packages @@ -20,7 +22,17 @@ var OWNERS = new [] { "Charlie Poole" }; var DESCRIPTION = "This extension allows NUnit to recognize and load NUnit projects, file type .nunit."; var SUMMARY = "NUnit Engine extension for loading NUnit projects."; var COPYRIGHT = "Copyright (c) 2016 Charlie Poole"; -var RELEASE_NOTES = new [] { "See https://raw.githubusercontent.com/nunit/nunit-project-loader/master/CHANGES.txt" }; +var RELEASE_NOTES = new [] { + "Fixes several packaging errors and adds a new chocolatey package. Runners and engines", + "installed under chocolatey will see and make use of this package.", + "", + "Issues Resolved", + "", + " * 2 Change API reference to released version", + " * 4 Create file of constants for XML element and attribute names", + " * 7 No license file in NuGet package", + " * 8 Integrate chocolatey package in release build script" + }; var TAGS = new [] { "nunit", "test", "testing", "tdd", "runner" }; ////////////////////////////////////////////////////////////////////// @@ -203,7 +215,7 @@ Task("RePackageNuGet") NuGetPack( new NuGetPackSettings() { - Id = "NUnit.Extension.NUnitProjectLoader", + Id = NUGET_ID, Version = nugetVersion ?? packageVersion, Title = TITLE, Authors = AUTHORS, @@ -221,6 +233,7 @@ Task("RePackageNuGet") OutputDirectory = OUTPUT_DIR, Files = new [] { new NuSpecContent { Source = PROJECT_DIR + "LICENSE.txt" }, + new NuSpecContent { Source = PROJECT_DIR + "CHANGES.txt" }, new NuSpecContent { Source = BIN_SRC + "nunit-project-loader.dll", Target = "tools" } } }); @@ -234,7 +247,7 @@ Task("RePackageChocolatey") ChocolateyPack( new ChocolateyPackSettings() { - Id = "nunit-extension-nunit-project-loader", + Id = CHOCO_ID, Version = chocoVersion ?? packageVersion, Title = TITLE, Authors = AUTHORS, @@ -257,6 +270,7 @@ Task("RePackageChocolatey") OutputDirectory = OUTPUT_DIR, Files = new [] { new ChocolateyNuSpecContent { Source = PROJECT_DIR + "LICENSE.txt", Target = "tools" }, + new ChocolateyNuSpecContent { Source = PROJECT_DIR + "CHANGES.txt", Target = "tools" }, new ChocolateyNuSpecContent { Source = PROJECT_DIR + "VERIFICATION.txt", Target = "tools" }, new ChocolateyNuSpecContent { Source = BIN_SRC + "nunit-project-loader.dll", Target = "tools" } } From 0312b59d1fe2e4182f310986b601bc06ca9f106b Mon Sep 17 00:00:00 2001 From: Charlie Poole Date: Wed, 26 Jul 2017 12:01:15 +0100 Subject: [PATCH 2/2] Changes from review --- CHANGES.txt | 8 ++++---- build.cake | 12 +----------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 913ef45..dc79409 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,3 @@ -NUnit 3.5 - October 6, 2016 - - The first independent release of the nunit-project-loader extension. - NUnit 3.6 - July 28, 2017 Fixes several packaging errors and adds a new chocolatey package. Runners and engines @@ -13,3 +9,7 @@ NUnit 3.6 - July 28, 2017 * 4 Create file of constants for XML element and attribute names * 7 No license file in NuGet package * 8 Integrate chocolatey package in release build script + +NUnit 3.5 - October 6, 2016 + + The first independent release of the nunit-project-loader extension. diff --git a/build.cake b/build.cake index dc343c1..622a58f 100644 --- a/build.cake +++ b/build.cake @@ -22,17 +22,7 @@ var OWNERS = new [] { "Charlie Poole" }; var DESCRIPTION = "This extension allows NUnit to recognize and load NUnit projects, file type .nunit."; var SUMMARY = "NUnit Engine extension for loading NUnit projects."; var COPYRIGHT = "Copyright (c) 2016 Charlie Poole"; -var RELEASE_NOTES = new [] { - "Fixes several packaging errors and adds a new chocolatey package. Runners and engines", - "installed under chocolatey will see and make use of this package.", - "", - "Issues Resolved", - "", - " * 2 Change API reference to released version", - " * 4 Create file of constants for XML element and attribute names", - " * 7 No license file in NuGet package", - " * 8 Integrate chocolatey package in release build script" - }; +var RELEASE_NOTES = new [] { "See https://raw.githubusercontent.com/nunit/nunit-project-loader/master/CHANGES.txt" }; var TAGS = new [] { "nunit", "test", "testing", "tdd", "runner" }; //////////////////////////////////////////////////////////////////////