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: before_deploy:
- composer install - 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: deploy:
provider: releases provider: releases
api_key: ${GITHUB_OAUTH_TOKEN} api_key: ${GITHUB_OAUTH_TOKEN}
file: pico.tar.gz file: pico-$TRAVIS_TAG.tar.gz
skip_cleanup: true skip_cleanup: true
on: on:
repo: picocms/Pico repo: picocms/Pico