Skip to content

Commit a1cf8d2

Browse files
authored
Merge pull request #44 from pelias/semantic-release-build-stage
Semantic release build stage
2 parents b587568 + 5d7d447 commit a1cf8d2

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ matrix:
1111
script: npm run travis
1212
before_install:
1313
- npm i -g npm
14-
after_success:
15-
- npx semantic-release
1614
branches:
1715
except:
1816
- /^v\d+\.\d+\.\d+$/
17+
jobs:
18+
include:
19+
- stage: release
20+
node_js: 10
21+
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
22+
if: branch = master

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function CreateLogger( name, loggerOpts ){
1515
transports: [
1616
new winston.transports.Console( {
1717
colorize: pkgConfig.colorize,
18+
json: pkgConfig.json,
1819
timestamp: pkgConfig.timestamp,
1920
level: pkgConfig.level,
2021
label: name

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"author": "mapzen",
1313
"main": "index.js",
1414
"devDependencies": {
15-
"precommit-hook": "^3.0.0",
16-
"semantic-release": "^15.0.0"
15+
"precommit-hook": "^3.0.0"
1716
},
1817
"dependencies": {
1918
"winston": "^2.2.0",

0 commit comments

Comments
 (0)