From 8ed259cff8a1cb835161aecda788eba2220264bf Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Wed, 26 Jul 2017 13:53:57 +0200 Subject: [PATCH] Package rothko for GHfVS, bump to 0.0.2 --- ReleaseNotes.md | 4 ++++ Rothko.nuspec | 2 +- SolutionInfo.cs | 6 +++--- script/build.fsx | 11 +++++++---- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index b34e11e..2906970 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,3 +1,7 @@ +### New in 0.0.2 + +* Signing key for GHfVS + ### New in 0.0.1 * Initial alpha release diff --git a/Rothko.nuspec b/Rothko.nuspec index c712ad2..5870ce5 100644 --- a/Rothko.nuspec +++ b/Rothko.nuspec @@ -7,7 +7,7 @@ @authors@ @summary@ https://github.com/haacked/rothko/blob/master/LICENSE.txt - https://github.com/haacked/rothko + https://github.com/editor-tools/rothko https://cloud.githubusercontent.com/assets/19977/4635932/4483417a-53de-11e4-8aad-7f06b2d3c46a.png false @description@ diff --git a/SolutionInfo.cs b/SolutionInfo.cs index 403ef3f..cec6677 100644 --- a/SolutionInfo.cs +++ b/SolutionInfo.cs @@ -2,10 +2,10 @@ using System.Reflection; [assembly: AssemblyProductAttribute("Rothko")] -[assembly: AssemblyVersionAttribute("0.0.1")] -[assembly: AssemblyFileVersionAttribute("0.0.1")] +[assembly: AssemblyVersionAttribute("0.0.2")] +[assembly: AssemblyFileVersionAttribute("0.0.2")] namespace System { internal static class AssemblyVersionInformation { - internal const string Version = "0.0.1"; + internal const string Version = "0.0.2"; } } diff --git a/script/build.fsx b/script/build.fsx index 59f9fd5..499783e 100644 --- a/script/build.fsx +++ b/script/build.fsx @@ -1,13 +1,16 @@ #r @"..\tools\FAKE.Core\tools\FakeLib.dll" open Fake open Fake.XUnit2Helper +open Fake.Git.Information + +let commit = getCurrentSHA1(".") let authors = ["Phil Haack"] // project name and description let projectName = "Rothko" let projectDescription = "Abstractions!" -let projectSummary = projectDescription // TODO: write a summary +let projectSummary = "This package is a modified signed build of Rothko from https://github.com/editor-tools/Rothko/commit/" + commit // directories let buildDir = "./src/bin" @@ -30,7 +33,7 @@ Target "AssemblyInfo" (fun _ -> CreateCSharpAssemblyInfo "./SolutionInfo.cs" [ Attribute.Product projectName Attribute.Version releaseNotes.AssemblyVersion - Attribute.FileVersion releaseNotes.AssemblyVersion] + Attribute.FileVersion releaseNotes.AssemblyVersion ] ) Target "BuildApp" (fun _ -> @@ -57,11 +60,11 @@ Target "Package" (fun _ -> {p with Authors = authors Project = projectName - Description = projectDescription + Description = projectDescription OutputPath = packagingDir Summary = projectSummary WorkingDir = packagingDir - Version = releaseNotes.AssemblyVersion + Version = releaseNotes.AssemblyVersion + "-ghfvs" ReleaseNotes = toLines releaseNotes.Notes AccessKey = getBuildParamOrDefault "nugetkey" "" Publish = hasBuildParam "nugetkey" }) "Rothko.nuspec"