From 7cf58dd9606f9cfd4481cd71c53e7b05a7bb4310 Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Tue, 14 Apr 2020 11:58:49 -0700 Subject: [PATCH] chore(ci): semantic-release on success With language node_js the semantic-release command should work --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e5ff476..3a119e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,5 +26,5 @@ after_success: # run automated release process with semantic-release - echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE, TRAVIS_NODE_VERSION=$TRAVIS_NODE_VERSION" - if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_NODE_VERSION" == "12" ]]; then - npm run semantic-release; + semantic-release; fi; \ No newline at end of file