From 577eccb79179330088dcc32dc811664bd7cd1302 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Thu, 22 Feb 2018 11:57:25 -0600 Subject: [PATCH] changed to use zip format --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index adadb605..744318a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,13 +22,14 @@ install: script: - gulp build + - if [[ "$TRAVIS_TAG" != "" ]]; then echo 'Building tag artifact'; fi - if [[ "$TRAVIS_TAG" != "" ]]; then mv ./public site_$TRAVIS_TAG; fi - - if [[ "$TRAVIS_TAG" != "" ]]; then tar -zcvf site_$TRAVIS_TAG.tgz site_$TRAVIS_TAG; fi + - if [[ "$TRAVIS_TAG" != "" ]]; then zip site_$TRAVIS_TAG.zip -r site_$TRAVIS_TAG; fi deploy: - provider: releases api_key: $GITHUB_TOKEN skip_cleanup: true - file: ./site_$TRAVIS_TAG.tgz + file: ./site_$TRAVIS_TAG.zip on: tags: true