Skip to content

Commit 6e8d258

Browse files
authored
feat: set up semantic release
set up semantic release
2 parents 9524a21 + 492beff commit 6e8d258

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: false
7+
node_js:
8+
- '9'
9+
- '8'
10+
after_success:
11+
- npm run semantic-release
12+
branches:
13+
except:
14+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "get-crowdin-file-ids",
3-
"version": "1.0.0",
3+
"version": "0.0.0-development",
44
"description": "Generate deep links to your content on Crowdin",
55
"main": "index.js",
66
"repository": "https://github.com/electron/get-crowdin-file-ids",
@@ -14,12 +14,14 @@
1414
"mocha": "^4.0.1",
1515
"nock": "^9.0.25",
1616
"standard": "^10.0.3",
17-
"standard-markdown": "^4.0.2"
17+
"standard-markdown": "^4.0.2",
18+
"semantic-release": "^11.0.2"
1819
},
1920
"scripts": {
20-
"test": "mocha && standard --fix && standard-markdown"
21+
"test": "mocha && standard --fix && standard-markdown",
22+
"semantic-release": "semantic-release"
2123
},
2224
"engines": {
2325
"node": ">=7"
2426
}
25-
}
27+
}

0 commit comments

Comments
 (0)