Update .travis.yml

Use $TRAVIS_TAG for the "binary" filename
This commit is contained in:
Daniel Rudolf 2015-10-28 17:26:43 +01:00
parent a068a1f9d7
commit 360e7ab91f

View file

@ -13,12 +13,12 @@ script:
before_deploy:
- composer install
- tar -czf pico.tar.gz .htaccess README.md changelog.txt composer.json composer.lock license.txt config content-sample lib plugins themes vendor index.php
- tar -czf "pico-$TRAVIS_TAG.tar.gz" .htaccess README.md changelog.txt composer.json composer.lock license.txt config content-sample lib plugins themes vendor index.php
deploy:
provider: releases
api_key: ${GITHUB_OAUTH_TOKEN}
file: pico.tar.gz
file: pico-$TRAVIS_TAG.tar.gz
skip_cleanup: true
on:
repo: picocms/Pico