Improved version in source header

This commit is contained in:
Igor Zhukov 2014-02-13 19:37:20 +04:00
parent cc58492162
commit 9f70b38507
12 changed files with 18 additions and 17 deletions

View File

@ -2,7 +2,8 @@ bump:
sed -i.bak 's/"version": ".*",/"version": "$(version)",/g' app/manifest.json sed -i.bak 's/"version": ".*",/"version": "$(version)",/g' app/manifest.json
sed -i.bak 's/"version": ".*",/"version": "$(version)",/g' app/manifest.webapp sed -i.bak 's/"version": ".*",/"version": "$(version)",/g' app/manifest.webapp
sed -i.bak 's/<span class="settings_version">alpha .*<\/span>/<span class="settings_version">alpha $(version)<\/span>/g' app/partials/settings_modal.html sed -i.bak 's/<span class="settings_version">alpha .*<\/span>/<span class="settings_version">alpha $(version)<\/span>/g' app/partials/settings_modal.html
rm app/manifest.json.bak app/manifest.webapp.bak app/partials/settings_modal.html.bak grep -rl 'Webogram v' app | xargs -I {} sed -i.bak 's/Webogram v[0-9.]*/Webogram v$(version)/g' {}
find app -name *.bak | xargs rm
package: package:
rm -rf package_dist rm -rf package_dist

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE
@ -15,4 +15,4 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) {
minHeight: 400, minHeight: 400,
frame: 'chrome' frame: 'chrome'
}); });
}); });

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE
@ -155,4 +155,4 @@ angular.module('myApp.filters', [])
} }
return $filter('dateOrTime')(timestamp); return $filter('dateOrTime')(timestamp);
} }
}]) }])

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE
@ -23,4 +23,4 @@ onmessage = function (e) {
result = aesDecrypt(e.data.encryptedBytes, e.data.keyBytes, e.data.ivBytes); result = aesDecrypt(e.data.encryptedBytes, e.data.keyBytes, e.data.ivBytes);
} }
postMessage({taskID: taskID, result: result}); postMessage({taskID: taskID, result: result});
} }

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE
@ -13,4 +13,4 @@ importScripts(
onmessage = function (e) { onmessage = function (e) {
postMessage(pqPrimeFactorization(e.data)); postMessage(pqPrimeFactorization(e.data));
} }

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE
@ -15,4 +15,4 @@ onmessage = function (e) {
var taskID = e.data.taskID; var taskID = e.data.taskID;
postMessage({taskID: taskID, result: sha1Hash(e.data.bytes)}); postMessage({taskID: taskID, result: sha1Hash(e.data.bytes)});
} }

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*! /*!
* Webogram v0.1 - messaging web application for MTProto * Webogram v0.0.16 - messaging web application for MTProto
* https://github.com/zhukov/webogram * https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE * https://github.com/zhukov/webogram/blob/master/LICENSE