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.
This commit is contained in:
parent
e8d052d50c
commit
9835da1672
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue