diff --git a/SolutionInfo.cs b/SolutionInfo.cs index 71834b6a..b343ede3 100644 --- a/SolutionInfo.cs +++ b/SolutionInfo.cs @@ -3,11 +3,11 @@ using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("Octokit")] -[assembly: AssemblyVersionAttribute("0.6.3")] -[assembly: AssemblyFileVersionAttribute("0.6.3")] +[assembly: AssemblyVersionAttribute("0.7.0")] +[assembly: AssemblyFileVersionAttribute("0.7.0")] [assembly: ComVisibleAttribute(false)] namespace System { internal static class AssemblyVersionInformation { - internal const string Version = "0.6.3"; + internal const string Version = "0.7.0"; } } diff --git a/build.fsx b/build.fsx index 38e289b6..cd7a132e 100644 --- a/build.fsx +++ b/build.fsx @@ -6,6 +6,9 @@ open SourceLink let authors = ["GitHub"] +// TODO: this is a naughty hack +let preRelease = "-alpha2" + // project name and description let projectName = "Octokit" let projectDescription = "An async-based GitHub API client library for .NET" @@ -136,7 +139,7 @@ Target "CreateOctokitPackage" (fun _ -> OutputPath = packagingRoot Summary = projectSummary WorkingDir = packagingDir - Version = releaseNotes.AssemblyVersion + Version = releaseNotes.AssemblyVersion + preRelease ReleaseNotes = toLines releaseNotes.Notes AccessKey = getBuildParamOrDefault "nugetkey" "" Publish = hasBuildParam "nugetkey" }) "octokit.nuspec" @@ -159,10 +162,10 @@ Target "CreateOctokitReactivePackage" (fun _ -> OutputPath = packagingRoot Summary = reactiveProjectSummary WorkingDir = reactivePackagingDir - Version = releaseNotes.AssemblyVersion + Version = releaseNotes.AssemblyVersion + preRelease ReleaseNotes = toLines releaseNotes.Notes Dependencies = - ["Octokit", NormalizeVersion releaseNotes.AssemblyVersion + ["Octokit", NormalizeVersion releaseNotes.AssemblyVersion + preRelease "Rx-Main", GetPackageVersion "./packages/" "Rx-Main"] AccessKey = getBuildParamOrDefault "nugetkey" "" Publish = hasBuildParam "nugetkey" }) "Octokit.Reactive.nuspec"