Skip to content

Commit

Permalink
Merge pull request #36 from uncovertruth/feature/update-version
Browse files Browse the repository at this point in the history
chore(package) version patch
  • Loading branch information
heavenshell authored Oct 21, 2016
2 parents 1941518 + 5ca558f commit 4bd3451
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "USERDIVE Tracker",
"version": "0.0.8",
"version": "0.0.9",
"manifest_version": 2,
"description": "USERDIVE tracker paste",
"icons": {
Expand Down
8 changes: 6 additions & 2 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,14 @@ gulp.task('wiredep', () => {

gulp.task('package', function () {
const manifest = require('./dist/manifest.json');
const appName = require('./package.json').name;
const app = require('./package.json');

if (app.version !== manifest.version) {
throw new Error('Pleas update verions');
}

return gulp.src('dist/**')
.pipe($.zip(appName + '-' + manifest.version + '.zip'))
.pipe($.zip(app.name + '-' + manifest.version + '.zip'))
.pipe(gulp.dest('package'));
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uncovertruth/userdive-tag-paster",
"description": "debugger",
"version": "0.0.7",
"version": "0.0.10",
"author": "UNCOVER TRUTH Inc.",
"bugs": {
"url": "https://github.com/uncovertruth/userdive-tag-paster/issues"
Expand Down

0 comments on commit 4bd3451

Please sign in to comment.