From 7b8ccbf2dee69a94b12f7809c29163659838760c Mon Sep 17 00:00:00 2001 From: MICHAEL JACKSON Date: Wed, 31 Jan 2018 17:24:20 -0800 Subject: [PATCH] Allow GitHub releases from all branches --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b355e2f..2180b23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,15 +24,17 @@ deploy: api_key: "$GITHUB_TOKEN" file_glob: true file: build/*.zip - prerelease: false + prerelease: true skip_cleanup: true on: - condition: '"$TRAVIS_TAG" != "" && $NPM_TAG = latest' + all_branches: true + condition: '"$TRAVIS_TAG" != "" && $NPM_TAG = next' - provider: releases api_key: "$GITHUB_TOKEN" file_glob: true file: build/*.zip - prerelease: true + prerelease: false skip_cleanup: true on: - condition: '"$TRAVIS_TAG" != "" && $NPM_TAG = next' + all_branches: true + condition: '"$TRAVIS_TAG" != "" && $NPM_TAG = latest'