From 512ce9b5746e5645f988056ac8c550d935fcc366 Mon Sep 17 00:00:00 2001 From: Sacred Duckwhale Date: Tue, 17 Oct 2017 17:25:24 +0200 Subject: [PATCH] Actually fixed .travis.yml Thanks to p3lim for providing me with this solution! --- .travis.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index c62bf58..24961d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,21 +14,10 @@ install: script: /home/travis/.luarocks/bin/luacheck . --no-color -quiet -only "011" -after_script: -file_type= -if [ -n "$tag" ]; then - if [[ "${tag,,}" == *"alpha"* ]]; then - file_type=alpha - elif [[ "${tag,,}" == *"beta"* ]]; then - file_type=beta - else - file_type=release - fi -else - echo "Found no tag, exiting." - exit 0 -fi -/curl -s [url]https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh[/url] | bash +after_script: + - curl -sO https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh + - curl -s https://gist.githubusercontent.com/p3lim/d77edf45f2c6e29b6f2dc23140028a45/raw/8974b8b8856dc33d658402b2a88bf888da46c259/release.patch | git apply -v + - bash release.sh notifications: email: @@ -39,7 +28,7 @@ cache: apt: true directories: - $HOME/.luarocks - + branches: only: - - ^r\d+(-(alpha|beta))?(-\d+)?$ \ No newline at end of file + - /^r\d+(-(alpha|beta))?(-\d+)?$/ \ No newline at end of file