From 75a0af6418844dd5df990d5ce091131ffa0630c6 Mon Sep 17 00:00:00 2001 From: Zac Colley Date: Thu, 6 Aug 2020 12:10:06 +0100 Subject: [PATCH] chore(semantic-release): fix semantic release travis --- .travis.yml | 2 +- package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 720563c..958ec6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ after_success: - "curl -Lo travis_after_all.py https://git.io/travis_after_all" - python travis_after_all.py - export $(cat .to_export_back) &> /dev/null - - npm run semantic-release + - npx semantic-release branches: except: - /^v\d+\.\d+\.\d+$/ diff --git a/package.json b/package.json index aacc964..e5cbee9 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "example": "node test/example.js", "pretest": "npm run prettier && npm run example", "test": "jest", - "test:watch": "jest --watch", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "test:watch": "jest --watch" }, "keywords": [ "letterboxd"