Skip to content

Commit

Permalink
Fix release error
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Aug 12, 2017
1 parent e0ec99d commit b73331d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ after_success:
- ls -al
before_deploy:
- git clone -b release --quiet [email protected]:inc2734/mimizuku.git release
- cp package.json gulpfile.js yarn.lock release
- cd release
- yarn install
- yarn run gulp zip
- mv mimizuku.zip ../
deploy:
Expand Down
7 changes: 6 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,15 @@ gulp.task('release', function(){
* Creates the zip file
* This command must be build beforehand on Travis CI !!
*/
gulp.task('zip', ['build'], function(){
gulp.task('zip', function(){
return gulp.src(
[
'**',
'!node_modules',
'!node_modules/**',
'!package.json',
'!gulpfile.js',
'!yarn.lock',
],
{base: './'}
)
Expand Down

0 comments on commit b73331d

Please sign in to comment.