Update .travis.yml
Use $TRAVIS_TAG for the "binary" filename
This commit is contained in:
parent
a068a1f9d7
commit
360e7ab91f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue