File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
#r @" tools/FAKE/tools/FakeLib.dll"
2
2
open Fake
3
3
open Fake.ProcessHelper
4
+ open Fake.Git
4
5
5
- let npmVersion = " 3.2.1 "
6
- let nugetVersion = " 3.2.1-fake0 "
6
+ let npmVersion = " 3.2.0 "
7
+ let nugetVersion = " 3.2.0-fake1 "
7
8
let pkgDir = " ./pkg/"
8
9
let publish = ( getBuildParamOrDefault " publish" " false" ) = " true"
9
10
@@ -57,13 +58,25 @@ Target "NuGetLess" (fun _ ->
57
58
})
58
59
)
59
60
61
+ Target " GitPush" ( fun _ ->
62
+ push " ./"
63
+ )
64
+
65
+ Target " GitTag" ( fun _ ->
66
+ let tagName = ( " v" + nugetVersion)
67
+ tag " ./" tagName
68
+ pushTag " ./" " origin" tagName
69
+ )
70
+
60
71
Target " Clean" DoNothing
61
72
Target " Default" DoNothing
62
73
63
74
" Clean"
64
75
==> " NpmInstall"
65
76
==> " NuGetCss"
66
77
==> " NuGetLess"
78
+ =?> ( " GitPush" , publish)
79
+ =?> ( " GitTag" , publish)
67
80
==> " Default"
68
81
69
82
" CleanNpm" ==> " CleanPkg" ==> " Clean"
You can’t perform that action at this time.
0 commit comments