Skip to content

Commit 578e458

Browse files
author
Unknown
committed
chore(package, travis): setup semantic-release
1 parent 146fed3 commit 578e458

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: node_js
2+
3+
cache:
4+
directories:
5+
- node_modules
6+
7+
notifications:
8+
email: false
9+
10+
node_js:
11+
- '7'
12+
- '6'
13+
- '4'
14+
15+
before_script:
16+
- yarn build
17+
18+
after_success:
19+
- yarn semantic-release
20+
21+
branches:
22+
except:
23+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"repository": {
1616
"type": "git",
17-
"url": "git+https://github.com/mitmadness/UnityInvoker.git"
17+
"url": "https://github.com/mitmadness/UnityInvoker.git"
1818
},
1919
"bugs": {
2020
"url": "https://github.com/mitmadness/UnityInvoker/issues"
@@ -24,7 +24,8 @@
2424
"@types/node": "^7.0.12",
2525
"@types/pify": "^0.0.28",
2626
"tslint": "^5.1.0",
27-
"typescript": "^2.2.2"
27+
"typescript": "^2.2.2",
28+
"semantic-release": "^6.3.2"
2829
},
2930
"dependencies": {
3031
"pify": "^2.3.0"

0 commit comments

Comments
 (0)