File tree Expand file tree Collapse file tree 4 files changed +37
-3
lines changed
Expand file tree Collapse file tree 4 files changed +37
-3
lines changed Original file line number Diff line number Diff line change @@ -127,3 +127,4 @@ FSharp.Compiler.Tools.Nuget/*.nupkg
127127FSharp.Core.Nuget /* .nupkg
128128* .orig
129129.paket /paket.exe
130+ paket-files
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ let description = """
2727 interactive service that can be used for embedding F# scripting into your applications."""
2828let tags = " F# fsharp interactive compiler editor"
2929
30- let gitHome = " https://github.com/fsharp"
30+ let gitOwner = " fsharp"
31+ let gitHome = " https://github.com/" + gitOwner
32+
3133let gitName = " FSharp.Compiler.Service"
3234let gitRaw = environVarOrDefault " gitRaw" " https://raw.githubusercontent.com/fsharp"
3335
@@ -180,7 +182,23 @@ Target "ReleaseDocs" (fun _ ->
180182 Branches.push " temp/gh-pages"
181183)
182184
183- Target " Release" DoNothing
185+ #load " paket-files/fsharp/FAKE/modules/Octokit/Octokit.fsx"
186+ open Octokit
187+
188+ Target " Release" ( fun _ ->
189+ StageAll " "
190+ Git.Commit.Commit " " ( sprintf " Bump version to %s " release.NugetVersion)
191+ Branches.push " "
192+
193+ Branches.tag " " release.NugetVersion
194+ Branches.pushTag " " " origin" release.NugetVersion
195+
196+ // release on github
197+ createClient ( getBuildParamOrDefault " github-user" " " ) ( getBuildParamOrDefault " github-pw" " " )
198+ |> createDraft gitOwner gitName release.NugetVersion ( release.SemVer.PreRelease <> None) release.Notes
199+ |> releaseDraft
200+ |> Async.RunSynchronously
201+ )
184202
185203// --------------------------------------------------------------------------------------
186204// Run all targets by default. Invoke 'build <Target>' to override
Original file line number Diff line number Diff line change @@ -9,4 +9,6 @@ nuget SQLite.Net.Platform.Generic 2.4.1
99nuget NuGet.CommandLine
1010nuget FAKE
1111nuget FSharp.Formatting
12- nuget SourceLink.Fake
12+ nuget SourceLink.Fake
13+
14+ github fsharp/FAKE modules/Octokit/Octokit.fsx
Original file line number Diff line number Diff line change 88 FSharpVSPowerTools.Core (1.8.0)
99 FSharpVSPowerTools.Core (1.8.0)
1010 FSharp.Compiler.Service (>= 0.0.87)
11+ Microsoft.Bcl (1.1.10)
12+ Microsoft.Bcl.Build (>= 1.0.14)
13+ Microsoft.Bcl.Build (1.0.21)
14+ Microsoft.Net.Http (2.2.29)
15+ Microsoft.Bcl (>= 1.1.10)
16+ Microsoft.Bcl.Build (>= 1.0.14)
1117 NuGet.CommandLine (2.8.6)
1218 NUnit (2.6.3)
1319 NUnit.Runners (2.6.3)
20+ Octokit (0.14.0) - framework: wpv8.0
21+ Microsoft.Net.Http
1422 SourceLink.Fake (1.0.0)
1523 sqlite-net-wp8 (3.8.5) - framework: wpv8.0
1624 SQLite.Net-PCL (3.0.5)
1725 sqlite-net-wp8 (>= 3.8.5) - framework: wpv8.0
1826 SQLite.Net.Platform.Generic (2.4.1)
1927 SQLite.Net-PCL
28+ GITHUB
29+ remote: fsharp/FAKE
30+ specs:
31+ modules/Octokit/Octokit.fsx (16296d960f02a6192baa9e3f9facb32aca7184bb)
32+ Octokit
You can’t perform that action at this time.
0 commit comments