From 3a05bcfb29db1c920930abfbca43f65d35c3e47d Mon Sep 17 00:00:00 2001 From: tooomm Date: Fri, 7 Dec 2018 17:48:06 +0100 Subject: [PATCH] fix deployment on travis (#3468) ## Short roundup of the initial problem Deployment conditions weren't met, because the $BUILDTYPE variable doesn't exist anymore. @ebbit1q changed that, and there is a flag now that you pass to the compile script instead. ## What will change with this Pull Request? - Remove that condition It's not needed because we make sure via the build config itself that on tags no debug builds are run. This was a double check basically to prevent debug builds beeing deployed. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 304e76af..966676cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -122,7 +122,7 @@ deploy: on: tags: true repo: Cockatrice/Cockatrice - condition: $BUILDTYPE = Release && $TRAVIS_TAG =~ ([0-9]|[1-9][0-9])(\.([0-9]|[1-9][0-9])){2}-beta(\.([2-9]|[1-9][0-9]))?$ # regex to match semver naming convention for beta pre-releases + condition: $TRAVIS_TAG =~ ([0-9]|[1-9][0-9])(\.([0-9]|[1-9][0-9])){2}-beta(\.([2-9]|[1-9][0-9]))?$ # regex to match semver naming convention for beta pre-releases # Deploy configuration for "stable" releases - provider: releases @@ -137,7 +137,7 @@ deploy: on: tags: true repo: Cockatrice/Cockatrice - condition: $BUILDTYPE = Release && $TRAVIS_TAG =~ ([0-9]|[1-9][0-9])(\.([0-9]|[1-9][0-9])){2}$ # regex to match semver naming convention for stable full releases + condition: $TRAVIS_TAG =~ ([0-9]|[1-9][0-9])(\.([0-9]|[1-9][0-9])){2}$ # regex to match semver naming convention for stable full releases notifications: