Fix regex for setting the version number.

updates #1366
This commit is contained in:
JC Brand 2018-12-07 13:55:41 +01:00
parent 384f1d7977
commit 02c907128c
3 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ po2json:
.PHONY: 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/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

2
dist/converse.js vendored
View File

@ -62552,7 +62552,7 @@ const _converse = {
'templates': {},
'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

View File

@ -72,7 +72,7 @@ const _converse = {
'promises': {}
}
_converse.VERSION_NAME = "v4.0.5";
_converse.VERSION_NAME = "v4.0.6";
_.extend(_converse, Backbone.Events);