Skip to content

Commit

Permalink
set version to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nayato committed Feb 10, 2016
1 parent 2339024 commit e19221e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#### 0.2.3 February 10
- Critical fix to handling of async operations when initiated from outside the event loop (#66).
- Fix to enable setting socket-related options through SetOption on Bootstrap (#68).
- build changes to allow signing assemblies

#### 0.2.2 January 30
- `ResourceLeakDetector` fix (#64)
- Assigned GUID on default internal logger `EventSource`
Expand Down
13 changes: 11 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,17 @@ open AssemblyInfoFile
Target "AssemblyInfo" (fun _ ->
let version = release.AssemblyVersion

let signKey = getBuildParamOrDefault "signkey" ""
let delaySign =
match signKey with
| s as string when s.Length > 0 -> Some(true)
| _ -> None

CreateCSharpAssemblyInfoWithConfig "src/SharedAssemblyInfo.cs" [
Attribute.Company company
Attribute.Copyright copyright
Attribute.KeyFile signKey
Attribute.DelaySign delaySign
Attribute.Version version
Attribute.FileVersion version ] <| AssemblyInfoFileConfig(false)
)
Expand Down Expand Up @@ -160,6 +168,7 @@ Target "CleanNuget" (fun _ ->
// Publish to nuget.org if nugetkey is specified

let createNugetPackages _ =
let nugetSuffix = getBuildParamOrDefault "nugetSuffix" ""
let mutable dirName = 1
let removeDir dir =
let del _ =
Expand All @@ -182,7 +191,7 @@ let createNugetPackages _ =
let releaseDir = projectDir @@ @"bin\Release"
let packages = projectDir @@ "packages.config"
let packageDependencies = if (fileExists packages) then (getDependencies packages) else []
let dependencies = packageDependencies @ getDependencies project
let dependencies = packageDependencies @ (getDependencies project |> List.map (fun x -> fst x + nugetSuffix, snd x))
let releaseVersion = getProjectVersion project

let pack outputDir symbolPackage =
Expand All @@ -192,7 +201,7 @@ let createNugetPackages _ =
Description = description
Authors = authors
Copyright = copyright
Project = project
Project = project + nugetSuffix
Properties = ["Configuration", "Release"]
ReleaseNotes = release.Notes |> String.concat "\n"
Version = releaseVersion
Expand Down
6 changes: 4 additions & 2 deletions src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@

[assembly: AssemblyCompanyAttribute("DotNetty")]
[assembly: AssemblyCopyrightAttribute("Copyright © 2015")]
[assembly: AssemblyVersionAttribute("0.2.1")]
[assembly: AssemblyFileVersionAttribute("0.2.1")]
[assembly: AssemblyKeyFileAttribute("")]
[assembly: AssemblyDelaySignAttribute(false)]
[assembly: AssemblyVersionAttribute("0.2.3")]
[assembly: AssemblyFileVersionAttribute("0.2.3")]

0 comments on commit e19221e

Please sign in to comment.