From 3611bdfd567cbba9252367d1fbb92522684fc9aa Mon Sep 17 00:00:00 2001 From: Pawel Szczodruch Date: Wed, 26 Aug 2020 16:29:41 -0700 Subject: [PATCH 1/2] added beta stage --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.travis.yml b/.travis.yml index 67a9193e..8af288e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -219,6 +219,26 @@ jobs: # how to use hub: https://hub.github.com/hub.1.html - hub release edit --draft=false -m "" ${TRAVIS_TAG} + - stage: 'Publish (beta)' + if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+\-beta+[0-9]?$/ + name: publish beta + os: linux + env: APP_VERSION=${TRAVIS_TAG#v} + + before_install: + - ./scripts/pull_travis_ci_tools.sh + + install: + # installs hub to ~/bin + - $HOME/travisci-tools/release_github/install_hub.sh + - export PATH=$HOME/bin:$HOME/travisci-tools/slack:$PATH + + before_script: skip + + script: + # how to use hub: https://hub.github.com/hub.1.html + - hub release edit --draft=true -m "" ${TRAVIS_TAG} + - stage: 'Readme-sync-preview' # publishes changes in your docs pull request (ie, contains changes to /docs/readme-sync directory) to https://rollouts-sandbox-doc-test.readme.io/ for previewing before # committing to master From 9f55e7da9add284408de011d97e11d7c0eda2cc5 Mon Sep 17 00:00:00 2001 From: Pawel Szczodruch Date: Wed, 26 Aug 2020 16:35:02 -0700 Subject: [PATCH 2/2] added the stage to publish beta --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 8af288e6..1204d126 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ stages: - 'Test Build using latest tag (no upload)' - 'Build, Upload and Publish (draft)' - 'Test github release assets' + - 'Publish (beta)' - 'Publish (real)' - 'Readme-sync-preview' - 'Readme-sync'