From 558f38aee25b5a6362aa6f9f2b8bc0297c93d558 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Sat, 8 Sep 2018 07:26:06 -0400 Subject: [PATCH] feat(release): replace semantic-release dep with Travis build stages This makes CI quicker, and releases more stable. Connects https://github.com/pelias/api/pull/1187 --- .travis.yml | 8 ++++++-- package.json | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5aec453..60235aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index cbec59f..154c861 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "jshint": "^2.6.3", "precommit-hook": "^3.0.0", "proj4": "^2.3.12", - "semantic-release": "^15.0.0", "tap-dot": "^2.0.0", "tap-spec": "^5.0.0", "tape": "^4.5.0",