Skip to content

Commit

Permalink
feat(build): add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunnerLivio committed Dec 14, 2018
1 parent eda1f07 commit 22269bb
Show file tree
Hide file tree
Showing 6 changed files with 10,884 additions and 817 deletions.
13 changes: 13 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/github", {
"assets": ["./**/*.{js,css}", "package.json"]
}],
["@semantic-release/git", {
"assets": ["dist/**/*.{js,css}", "docs", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}]
]
}
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- "8"
- "9"
- "10"
- '10'
- '9'
- '8'
script:
- npm run lint
- npm run lint
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/cli.js",
"args": ["--image-version", "7", "express", "-vv"]
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
".releaserc": "json"
}
}
Loading

0 comments on commit 22269bb

Please sign in to comment.