Fix auto-publishing of pre-bundled releases
This commit is contained in:
parent
25ada4a8df
commit
822d58db60
1 changed files with 2 additions and 1 deletions
|
@ -33,12 +33,13 @@ jobs:
|
|||
- deploy.sh
|
||||
before_deploy:
|
||||
- '[ "$TRAVIS_TAG" == "v$(php -r "require_once(\"lib/Pico.php\"); echo Pico::VERSION;")" ]'
|
||||
- create-release.sh "pico-release-$TRAVIS_TAG.tar.gz"
|
||||
- create-release.sh "$TRAVIS_BUILD_DIR/pico-release-$TRAVIS_TAG.tar.gz"
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: ${GITHUB_OAUTH_TOKEN}
|
||||
file: pico-release-$TRAVIS_TAG.tar.gz
|
||||
skip_cleanup: true
|
||||
name: Version $TRAVIS_TAG
|
||||
draft: true
|
||||
on:
|
||||
tags: true
|
||||
|
|
Loading…
Reference in a new issue