Include the version number in the build files.

This commit is contained in:
JC Brand 2017-02-17 20:33:05 +00:00
parent 5aabe31749
commit 6379b0dd7a
2 changed files with 4 additions and 4 deletions

View File

@ -80,6 +80,7 @@ po2json:
.PHONY: release
release:
sed -i s/Version:\ [0-9]\.[0-9]\.[0-9]/Version:\ $(VERSION)/ src/converse.js
sed -i s/Project-Id-Version:\ Converse\.js\ [0-9]\.[0-9]\.[0-9]/Project-Id-Version:\ Converse.js\ $(VERSION)/ locale/converse.pot
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ bower.json
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ package.json

View File

@ -1,12 +1,11 @@
/* Converse.js components configuration
/* Converse.js
*
* This file is used to tell require.js which components (or plugins) to load
* when it generates a build.
* Version: 3.0.0
*/
/*global define */
if (typeof define !== 'undefined') {
/* When running tests, define is not defined. */
// The section below determines which plugins will be included in a build
define([
"converse-core",
// PLEASE NOTE: By default all translations are included.