Skip to content

Commit b825c3b

Browse files
authored
Merge pull request #45 from pelias/semantic-release-build-stage
Semantic release build stage
2 parents 8fb3dea + f473a0e commit b825c3b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.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

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)