Skip to content

Commit

Permalink
Fix auto-publishing of pre-bundled releases
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Apr 7, 2018
1 parent 25ada4a commit 822d58d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 822d58d

Please sign in to comment.