Skip to content

Commit

Permalink
Merge pull request #44 from pelias/semantic-release-build-stage
Browse files Browse the repository at this point in the history
Semantic release build stage
  • Loading branch information
orangejulius authored Sep 1, 2018
2 parents b587568 + 5d7d447 commit a1cf8d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ matrix:
script: npm run travis
before_install:
- npm i -g npm
after_success:
- npx semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
jobs:
include:
- stage: release
node_js: 10
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
if: branch = master
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function CreateLogger( name, loggerOpts ){
transports: [
new winston.transports.Console( {
colorize: pkgConfig.colorize,
json: pkgConfig.json,
timestamp: pkgConfig.timestamp,
level: pkgConfig.level,
label: name
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"author": "mapzen",
"main": "index.js",
"devDependencies": {
"precommit-hook": "^3.0.0",
"semantic-release": "^15.0.0"
"precommit-hook": "^3.0.0"
},
"dependencies": {
"winston": "^2.2.0",
Expand Down

0 comments on commit a1cf8d2

Please sign in to comment.