Skip to content

Commit

Permalink
Update travis to pre-release a minor
Browse files Browse the repository at this point in the history
  • Loading branch information
vdo committed Apr 26, 2019
1 parent 831d4dd commit e2f7669
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ sudo: required
stages:
- name: test
- name: build-test
if: tag != "release"
if: tag =~ /^(?!release\/).*/
- name: release
if: tag = "release"
if: tag =~ /^release\/(major|minor|patch)$/

jobs:
include:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
on:
branch: master
tags: true
condition: "$TRAVIS_TAG =~ ^release*$"
condition: "$TRAVIS_TAG = release || $TRAVIS_TAG = release/patch || $TRAVIS_TAG = release/minor || $TRAVIS_TAG = release/major"
after_deploy:
- wget https://raw.githubusercontent.com/dappnode/DAppNode/master/scripts/after_deploy.sh
- source after_deploy.sh
# - wget https://raw.githubusercontent.com/dappnode/DAppNode/master/scripts/after_deploy.sh
# - source after_deploy.sh

0 comments on commit e2f7669

Please sign in to comment.