From 9835da16723b0b9cd7041ed4f67059e2196a4eff Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Tue, 6 Oct 2020 00:40:53 +0200 Subject: [PATCH] Fix the condition for the source tarball task When building a release tag, the branch is not set to "master", it is the name of the release tag. Instead, do a regex match on the tag name to identify that we are processing a release. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d3c42bb2..77731c0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -156,7 +156,7 @@ jobs: - stage: "Deploy" name: "Source packaging" - if: (tag IS present) AND (branch = master) AND (type = push) + if: (tag =~ /^v?[0-9]/) AND (type = push) env: - INSTALL_DIR="sfizz-${TRAVIS_BRANCH}-src" addons: