Skip to content

Commit

Permalink
Add version number to zip filename
Browse files Browse the repository at this point in the history
  • Loading branch information
tsbarnes committed Feb 19, 2016
1 parent 6598e75 commit eecdfe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ script: gulp zip
deploy:
provider: releases
api_key: $GITHUB_ACCESS_TOKEN
file: $TRAVIS_BUILD_DIR/dist/chrome-sipml5.zip
file_glob: true
file: dist/chrome-sipml5-*.zip
on:
repo: tsbarnes/chrome-sipml5
tags: true
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ gulp.task('watch', ['build'], function() {
gulp.task('build', ['html', 'styles', 'scripts', 'bower', 'images', 'sounds', 'manifest']);

gulp.task('zip', ['build'], function() {
// var manifest = require('./manifest'),
// distFileName = manifest.name + ' v' + manifest.version + '.zip';
var distFileName = 'chrome-sipml5.zip';
var manifest = require('./manifest');
var distFileName = 'chrome-sipml5-' + manifest.version + '.zip';
gulp.src(['build/**'])
.pipe(zip(distFileName))
.pipe(gulp.dest('dist'));
Expand Down

0 comments on commit eecdfe7

Please sign in to comment.