Skip to content

Commit

Permalink
Fix Travis release asset build (see pressbooks/pressbooks#855).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Jul 17, 2017
1 parent 6421d5a commit 7594bde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ script:
- composer test
before_deploy:
- composer install --no-dev
- zip -9 -ry pressbooks-book-$TRAVIS_TAG.zip ../pressbooks-book
- cd ../
- zip -9 -ry pressbooks-book-$TRAVIS_TAG.zip pressbooks-book
-x *.git* *assets/fonts/\* *assets/images/\* *assets/scripts/\* *assets/styles/\* *node_modules/\* *tests/\* *.editorconfig* *.gitattributes*
*.github* *.gitignore* *.travis.yml* *.tx* *phpcs.ruleset.xml* *webpack.mix.js* *yarn.lock*
- mv pressbooks-book-$TRAVIS_TAG.zip pressbooks-book/pressbooks-book-$TRAVIS_TAG.zip
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 7594bde

Please sign in to comment.