Skip to content

Commit

Permalink
0.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Nov 24, 2015
1 parent 183337a commit e40b3bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PolymerMail",
"version": "0.1.15",
"version": "0.1.16",
"authors": [
"Eric Bidelman <[email protected]>"
],
Expand Down
7 changes: 5 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ var babelify = require('babelify');
var runSequence = require('run-sequence');
var path = require('path');

var version = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version;
var isProd = false;

const AUTOPREFIXER_BROWSERS = ['last 2 versions', 'ios 8', 'Safari 8'];

function getVersion() {
return JSON.parse(fs.readFileSync('./package.json', 'utf8')).version;
}

function minifyHtml() {
return $.minifyHtml({quotes: true, empty: true, spare: true});
}
Expand Down Expand Up @@ -123,7 +126,7 @@ gulp.task('root', function() {
'!deploy.sh',
'!*.md'
])
.pipe($.replace(/@VERSION@/g, version))
.pipe($.replace(/@VERSION@/g, getVersion()))
.pipe(gulp.dest('./dist/'));

gulp.src(['./data/*.json']).pipe(gulp.dest('./dist/data'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polymail",
"version": "0.1.15",
"version": "0.1.16",
"private": true,
"engines": {
"node": ">=0.10.0"
Expand Down

0 comments on commit e40b3bb

Please sign in to comment.