Commit 02c90712 authored by JC Brand's avatar JC Brand

Fix regex for setting the version number.

updates #1366
parent 384f1d79
...@@ -85,7 +85,7 @@ po2json: ...@@ -85,7 +85,7 @@ po2json:
.PHONY: release .PHONY: release
release: release:
$(SED) -ri 's/_converse.VERSION_NAME = "v[0-9]\+\.[0-9]\+\.[0-9]\+";/ _converse.VERSION_NAME = "$(VERSION)";/' src/headless/converse-core.js $(SED) -ri 's/_converse.VERSION_NAME = "v[0-9]+\.[0-9]+\.[0-9]+";/ _converse.VERSION_NAME = "v$(VERSION)";/' src/headless/converse-core.js
$(SED) -ri s/Version:\ [0-9]\+\.[0-9]\+\.[0-9]\+/Version:\ $(VERSION)/ COPYRIGHT $(SED) -ri s/Version:\ [0-9]\+\.[0-9]\+\.[0-9]\+/Version:\ $(VERSION)/ COPYRIGHT
$(SED) -ri s/Project-Id-Version:\ Converse\.js\ [0-9]\+\.[0-9]\+\.[0-9]\+/Project-Id-Version:\ Converse.js\ $(VERSION)/ locale/converse.pot $(SED) -ri s/Project-Id-Version:\ Converse\.js\ [0-9]\+\.[0-9]\+\.[0-9]\+/Project-Id-Version:\ Converse.js\ $(VERSION)/ locale/converse.pot
$(SED) -ri s/\"version\":\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"version\":\ \"$(VERSION)\"/ package.json $(SED) -ri s/\"version\":\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"version\":\ \"$(VERSION)\"/ package.json
......
...@@ -62552,7 +62552,7 @@ const _converse = { ...@@ -62552,7 +62552,7 @@ const _converse = {
'templates': {}, 'templates': {},
'promises': {} 'promises': {}
}; };
_converse.VERSION_NAME = "v4.0.5"; _converse.VERSION_NAME = "v4.0.6";
_lodash_noconflict__WEBPACK_IMPORTED_MODULE_4___default.a.extend(_converse, Backbone.Events); // Make converse pluggable _lodash_noconflict__WEBPACK_IMPORTED_MODULE_4___default.a.extend(_converse, Backbone.Events); // Make converse pluggable
...@@ -72,7 +72,7 @@ const _converse = { ...@@ -72,7 +72,7 @@ const _converse = {
'promises': {} 'promises': {}
} }
_converse.VERSION_NAME = "v4.0.5"; _converse.VERSION_NAME = "v4.0.6";
_.extend(_converse, Backbone.Events); _.extend(_converse, Backbone.Events);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment