Add postrelease make recipe to show dev version number in app

This commit is contained in:
JC Brand 2019-07-25 13:45:21 +02:00
parent 9a7dd99889
commit c5193be44b
3 changed files with 6 additions and 1 deletions

View File

@ -103,6 +103,10 @@ release:
make build
npm run pack
.PHONY: postrelease
postrelease:
$(SED) -i '/^_converse.VERSION_NAME =/s/=.*/= "v$(VERSION)dev";/' src/headless/converse-core.js
########################################################################
## Install dependencies

View File

@ -17,3 +17,4 @@
* Do the same for the root dir
11. Run `npm publish && cd src/headless/ && npm publish`
12. Update the repository on weblate
13. Decide on next release number and run `make postrelease VERSION=5.0.1`

View File

@ -104,7 +104,7 @@ const _converse = {
'promises': {}
}
_converse.VERSION_NAME = 'v4.2.0';
_converse.VERSION_NAME = "v5.0.0dev";
Object.assign(_converse, Backbone.Events);