Include the version number in the build files.
This commit is contained in:
parent
5aabe31749
commit
6379b0dd7a
1
Makefile
1
Makefile
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user