This repository was archived by the owner on Dec 15, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ node_js:
8
8
- ' 4'
9
9
- ' 6'
10
10
- ' 7'
11
- before_install :
12
- - npm update -g npm
13
11
before_script :
14
12
- npm prune
13
+ after_success :
14
+ - npm run semantic-release
15
15
branches :
16
16
except :
17
17
- /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " travis-deploy-once" ,
3
- "version" : " 1 .0.0" ,
3
+ "version" : " 0 .0.0-development " ,
4
4
"description" : " run a deployment script only once in the test matrix" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " standard && npm run build" ,
8
8
"build" : " babel src.js > index.js" ,
9
- "prepublish" : " npm run build"
9
+ "prepublish" : " npm run build" ,
10
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
10
11
},
11
12
"repository" : {
12
13
"type" : " git" ,
13
- "url" : " git+ https://github.com/semantic-release/travis-deploy-once.git"
14
+ "url" : " https://github.com/semantic-release/travis-deploy-once.git"
14
15
},
15
16
"keywords" : [
16
17
" travis" ,
28
29
"babel-cli" : " ^6.18.0" ,
29
30
"babel-plugin-transform-async-to-generator" : " ^6.16.0" ,
30
31
"babel-preset-es2015-node4" : " ^2.1.0" ,
32
+ "semantic-release" : " ^6.3.1" ,
31
33
"standard" : " ^8.5.0"
32
34
},
33
35
"dependencies" : {
You can’t perform that action at this time.
0 commit comments