Commit da096ca 1 parent 62687b1 commit da096ca Copy full SHA for da096ca
File tree 1 file changed +18
-3
lines changed
1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 16
16
doc_dir = "public/doc"
17
17
version = metadata ["version" ]
18
18
19
+ @runs_once
20
+ def make_site ():
21
+ local ("./jake html" )
22
+
19
23
@parallel
20
24
def deploy_site ():
21
25
target = doc_dir + "/dev/"
@@ -34,7 +38,7 @@ def unrelease_site():
34
38
35
39
@runs_once
36
40
def release_github ():
37
- local ("git tag v%s" % version )
41
+ local ("git push all master" )
38
42
local ("git push all v%s" % version )
39
43
40
44
@runs_once
@@ -45,8 +49,19 @@ def release_npm():
45
49
def clean ():
46
50
local ("git clean -fd" )
47
51
52
+ @runs_once
53
+ def install_from_scratch ():
54
+ local ("rm -rf node_modules dev" )
55
+ local ("npm install" )
56
+ local ("npm test" )
57
+
58
+ @runs_once
59
+ def increment_version (kind = "patch" ):
60
+ local ("npm version %s" % kind )
61
+
48
62
def release ():
49
63
clean ()
64
+ install_from_scratch ()
65
+ make_site ()
50
66
release_site ()
51
- release_github ()
52
- release_npm ()
67
+ local ("./jake release-dep" )
You can’t perform that action at this time.
0 commit comments