File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -39,4 +39,11 @@ install:
39
39
- npm install
40
40
41
41
script :
42
- - npm run test
42
+ - npm run test
43
+
44
+ after_success :
45
+ - npm run semantic-release
46
+
47
+ branches :
48
+ except :
49
+ - " /^v\\ d+\\ .\\ d+\\ .\\ d+$/"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " electron-builder" ,
3
- "version" : " 2.7.2" ,
4
3
"description" : " Complete solution to build ready for distribution and 'auto update' Electron App installers" ,
5
4
"main" : " index.js" ,
6
5
"scripts" : {
10
9
"test" : " result=\" $(tape index.spec.js ./lib/*.spec.js ./lib/**/*.spec.js)\" ; echo \" $result\" | tap-spec; echo \" $result\" | tnyan; ava" ,
11
10
"test-win" : " npm run pretest && ava" ,
12
11
"test-build" : " result=\" $(tape cli.spec.js)\" ; echo \" $result\" | tap-spec; echo \" $result\" | tnyan;" ,
13
- "publish-please" : " publish-please" ,
14
12
"declaration" : " dts-generator --name electron-builder --project . --out out/electron-builder.d.ts --indent=' '" ,
15
- "release" : " npm prune && npm test && npm run declaration && npm run publish-please "
13
+ "semantic- release" : " npm run declaration && semantic-release pre && npm publish && semantic-release post "
16
14
},
17
15
"repository" : {
18
16
"type" : " git" ,
79
77
"path-sort" : " ^0.1.0" ,
80
78
"plist" : " ^1.2.0" ,
81
79
"proxyquire" : " ^1.7.4" ,
82
- "publish-please" : " ^1.1.0" ,
83
80
"read-package-json" : " ^2.0.3" ,
84
81
"rimraf" : " ^2.5.2" ,
85
82
"should" : " ^8.2.2" ,
89
86
"ts-babel" : " ^0.3.0" ,
90
87
"tsconfig-glob" : " ^0.4.1" ,
91
88
"tslint" : " ^3.4.0" ,
92
- "typescript" : " ^1.8.2"
89
+ "typescript" : " ^1.8.2" ,
90
+ "semantic-release" : " ^4.3.5"
93
91
},
94
92
"babel" : {
95
93
"plugins" : [
You can’t perform that action at this time.
0 commit comments