diff --git a/config.xml b/config.xml index 34cda06946972e21ea19263e546ed4f7884d1a73..3d1d641caa0a5ecdd9584c6834fc64cbb2be1476 100644 --- a/config.xml +++ b/config.xml @@ -1,11 +1,17 @@ <?xml version='1.0' encoding='utf-8'?> -<widget id="com.ionicframework.cesium" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget + xmlns="http://www.w3.org/ns/widgets" + xmlns:cdv="http://cordova.apache.org/ns/1.0" + id="fr.duniter.cesium" + version="0.1.9" + android-versionCode="1" + > <name>Cesium</name> <description> A webapp client for Duniter </description> - <author email="contact@le-sou.org" href="http://le-sou.org"> - le Sou + <author email="contact@duniter.fr" href="http://www.duniter.fr"> + Duniter team </author> <content src="index.html" /> <access origin="*" /> diff --git a/gulpfile.js b/gulpfile.js index f082ea47c15ffa591e070b0fde66a77b1ec77335..b82f36b0d86eea8af36726a803c1c987f615ada6 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 8ddbf4c114e627b7f2c8a22a0ec1f5ce96bce241..3223c3744fc6c7dcd3de00d8ba87644ee321f4b2 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 d72b1f6038dbce1a12f6688cf3e1352eb5b7e66f..5b0d79420fdc520b0f018cd2224e692cee2473a5 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