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
127
127
FSharp.Core.Nuget /* .nupkg
128
128
* .orig
129
129
.paket /paket.exe
130
+ paket-files
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ let description = """
27
27
interactive service that can be used for embedding F# scripting into your applications."""
28
28
let tags = " F# fsharp interactive compiler editor"
29
29
30
- let gitHome = " https://github.com/fsharp"
30
+ let gitOwner = " fsharp"
31
+ let gitHome = " https://github.com/" + gitOwner
32
+
31
33
let gitName = " FSharp.Compiler.Service"
32
34
let gitRaw = environVarOrDefault " gitRaw" " https://raw.githubusercontent.com/fsharp"
33
35
@@ -180,7 +182,23 @@ Target "ReleaseDocs" (fun _ ->
180
182
Branches.push " temp/gh-pages"
181
183
)
182
184
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
+ )
184
202
185
203
// --------------------------------------------------------------------------------------
186
204
// 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
9
9
nuget NuGet.CommandLine
10
10
nuget FAKE
11
11
nuget 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 8
8
FSharpVSPowerTools.Core (1.8.0)
9
9
FSharpVSPowerTools.Core (1.8.0)
10
10
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)
11
17
NuGet.CommandLine (2.8.6)
12
18
NUnit (2.6.3)
13
19
NUnit.Runners (2.6.3)
20
+ Octokit (0.14.0) - framework: wpv8.0
21
+ Microsoft.Net.Http
14
22
SourceLink.Fake (1.0.0)
15
23
sqlite-net-wp8 (3.8.5) - framework: wpv8.0
16
24
SQLite.Net-PCL (3.0.5)
17
25
sqlite-net-wp8 (>= 3.8.5) - framework: wpv8.0
18
26
SQLite.Net.Platform.Generic (2.4.1)
19
27
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