From 75c696089327a467dcec3514dd67b9a308a7eb35 Mon Sep 17 00:00:00 2001 From: blavenie Date: Wed, 1 Jun 2016 14:31:53 +0200 Subject: [PATCH] Change deployment ID (config.xml) Release v0.1.8 --- config.xml | 12 +++++++++--- gulpfile.js | 4 +++- package.json | 3 ++- www/js/config.js | 4 ++-- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/config.xml b/config.xml index 34cda069..3d1d641c 100644 --- a/config.xml +++ b/config.xml @@ -1,11 +1,17 @@ - + Cesium A webapp client for Duniter - - le Sou + + Duniter team diff --git a/gulpfile.js b/gulpfile.js index f082ea47..b82f36b0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -13,6 +13,7 @@ var fs = require("fs"); var argv = require('yargs').argv; var header = require('gulp-header'); var removeCode = require('gulp-remove-code'); +//var bump = require('gulp-bump'); var paths = { sass: ['./scss/**/*.scss'], @@ -82,7 +83,8 @@ gulp.task('config', function (done) { gutil.log(gutil.colors.green("Building `www/js/config.js` for `" + env + "` environment...")); - config['APP_CONFIG']['VERSION'] = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version; + var version = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version; + config['APP_CONFIG']['VERSION'] = version; config['APP_CONFIG']['BUILD_DATE'] = (new Date()).toJSON(); return ngConstant({ diff --git a/package.json b/package.json index 8ddbf4c1..3223c374 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "name": "cesium", - "version": "0.1.8", + "version": "0.1.9", "description": "A webapp client for Duniter network", "dependencies": { "gulp": "^3.9.1", + "gulp-bump": "^2.1.0", "gulp-concat": "^2.2.0", "gulp-minify-css": "^0.3.0", "gulp-rename": "^1.2.0", diff --git a/www/js/config.js b/www/js/config.js index d72b1f60..5b0d7942 100644 --- a/www/js/config.js +++ b/www/js/config.js @@ -14,8 +14,8 @@ angular.module("cesium.config", []) "TIMEOUT": 4000, "DEBUG": false, "NATIVE_TRANSITION": false, - "VERSION": "0.1.8", - "BUILD_DATE": "2016-06-01T07:33:20.512Z" + "VERSION": "0.1.9", + "BUILD_DATE": "2016-06-01T12:30:59.621Z" }) ; \ No newline at end of file