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 33> Parse a GitHub URL for user/project@version
44
55[ ![ 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
610
711# Features
812
Original file line number Diff line number Diff line change 11{
22 "name" : " parse-github-repo-url" ,
33 "description" : " Parse a GitHub URL for user/project@version" ,
4- "version" : " 1.2.0 " ,
4+ "version" : " 0.0.0-semantic-release " ,
55 "author" : {
66 "name" : " Jonathan Ong" ,
7788 "url" : " http://jongleberry.com" ,
99 "twitter" : " https://twitter.com/jongleberry"
1010 },
1111 "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+ },
1316 "devDependencies" : {
14- "mocha" : " 1"
17+ "mocha" : " 1" ,
18+ "semantic-release" : " ^4.3.5"
1519 },
1620 "main" : " index.js" ,
1721 "scripts" : {
18- "test" : " mocha --reporter spec --bail"
22+ "test" : " mocha --reporter spec --bail" ,
23+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
1924 }
2025}
You can’t perform that action at this time.
0 commit comments