Skip to content

Commit

Permalink
Change deployment ID (config.xml)
Browse files Browse the repository at this point in the history
Release v0.1.8
  • Loading branch information
blavenie committed Jun 1, 2016
1 parent f8a21df commit 75c6960
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
12 changes: 9 additions & 3 deletions config.xml
Original file line number Diff line number Diff line change
@@ -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="*" />
Expand Down
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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({
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions www/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
})

;

0 comments on commit 75c6960

Please sign in to comment.