File tree Expand file tree Collapse file tree 3 files changed +573
-32
lines changed
Expand file tree Collapse file tree 3 files changed +573
-32
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,10 @@ sudo: required
88after_success :
99 - npm install -g codecov
1010 - codecov
11+
12+ after_success :
13+ - yarn semantic-release
14+
15+ branches :
16+ except :
17+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 1212 "test" : " eslint ./src; jest --coverage ./src" ,
1313 "build" : " rm -rf lib && mkdir lib && babel src/inapp.js --out-file lib/inapp.js" ,
1414 "demo" : " react-scripts start" ,
15- "deploy" : " react-scripts build && gh-pages -d build"
15+ "deploy" : " react-scripts build && gh-pages -d build" ,
16+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
1617 },
1718 "homepage" : " https://f2etw.github.io/detect-inapp" ,
1819 "files" : [
4142 "react-dom" : " 15.5.4" ,
4243 "react-icons" : " ^2.2.5" ,
4344 "react-scripts" : " 1.0.1" ,
44- "primer-css" : " ^6.0.0"
45+ "primer-css" : " ^6.0.0" ,
46+ "semantic-release" : " ^6.3.6"
4547 }
4648}
You can’t perform that action at this time.
0 commit comments