File tree Expand file tree Collapse file tree 3 files changed +31
-14
lines changed Expand file tree Collapse file tree 3 files changed +31
-14
lines changed Original file line number Diff line number Diff line change 1
- language : node_js
2
- node_js :
3
- - " 0.10"
4
- - " 0.12"
5
- - " 4"
6
- branches :
7
- only :
8
- - master
9
- script :
10
- - npm test
1
+ sudo : false
2
+ language : node_js
3
+ cache :
4
+ directories :
5
+ - node_modules
6
+ notifications :
7
+ email : false
8
+ node_js :
9
+ - ' 4'
10
+ before_install :
11
+ - npm i -g npm@^2.0.0
12
+ before_script :
13
+ - npm prune
14
+ after_success :
15
+ - npm run semantic-release
16
+ branches :
17
+ except :
18
+ - " /^v\\ d+\\ .\\ d+\\ .\\ d+$/"
Original file line number Diff line number Diff line change 3
3
> Parse a GitHub URL for user/project@version
4
4
5
5
[ ![ Build Status] ( https://travis-ci.org/repo-utils/parse-github-repo-url.svg?branch=master )] ( https://travis-ci.org/repo-utils/parse-github-repo-url )
6
+ [ ![ semantic-release] [ semantic-image ] ] [ semantic-url ]
7
+
8
+ [ semantic-image ] : https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
9
+ [ semantic-url ] : https://github.com/semantic-release/semantic-release
6
10
7
11
# Features
8
12
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " parse-github-repo-url" ,
3
3
"description" : " Parse a GitHub URL for user/project@version" ,
4
- "version" : " 1.2.0 " ,
4
+ "version" : " 0.0.0-semantic-release " ,
5
5
"author" : {
6
6
"name" : " Jonathan Ong" ,
7
7
8
8
"url" : " http://jongleberry.com" ,
9
9
"twitter" : " https://twitter.com/jongleberry"
10
10
},
11
11
"license" : " MIT" ,
12
- "repository" : " repo-utils/parse-github-repo-url" ,
12
+ "repository" : {
13
+ "type" : " git" ,
14
+ "url" : " https://github.com/repo-utils/parse-github-repo-url.git"
15
+ },
13
16
"devDependencies" : {
14
- "mocha" : " 1"
17
+ "mocha" : " 1" ,
18
+ "semantic-release" : " ^4.3.5"
15
19
},
16
20
"main" : " index.js" ,
17
21
"scripts" : {
18
- "test" : " mocha --reporter spec --bail"
22
+ "test" : " mocha --reporter spec --bail" ,
23
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
19
24
}
20
25
}
You can’t perform that action at this time.
0 commit comments