Skip to content

Commit 4860f38

Browse files
author
Kent C. Dodds
authored
feat: semantic-release (#28)
This commit actually adds semantic-release but I'm using `feat` to push out a new release to make sure semantic-release works. The actual change is the new emoji.
2 parents 8fd4098 + 1c97ba2 commit 4860f38

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.travis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
language: node_js
2+
cache:
3+
directories:
4+
- node_modules
5+
notifications:
6+
email: false
27
node_js:
38
- '6'
49
- '5'
510
- '4'
6-
- '0.12'
7-
- '0.10'
8-
before_install:
9-
- 'npm install -g npm@latest'
11+
script:
12+
- npm test
13+
after_success:
14+
- npm run semantic-release
15+
branches:
16+
only:
17+
- master

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
{
22
"name": "all-contributors-cli",
3-
"version": "3.0.7",
3+
"version": "0.0.0-semantically-released",
44
"description": "Tool to easily add recognition for new contributors",
55
"bin": {
66
"all-contributors": "cli.js"
77
},
88
"scripts": {
9-
"test": "xo && nyc ava"
9+
"test": "xo && nyc ava",
10+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1011
},
1112
"repository": {
1213
"type": "git",
13-
"url": "git+https://github.com/jfmengels/all-contributors-cli.git"
14+
"url": "https://github.com/jfmengels/all-contributors-cli.git"
1415
},
1516
"keywords": [
1617
"all-contributors",
@@ -33,7 +34,8 @@
3334
"ava": "^0.14.0",
3435
"nock": "^8.0.0",
3536
"nyc": "^6.4.2",
36-
"xo": "^0.15.0"
37+
"xo": "^0.15.0",
38+
"semantic-release": "^6.3.2"
3739
},
3840
"ava": {
3941
"files": [

0 commit comments

Comments
 (0)