Commit c5193be4 authored by JC Brand's avatar JC Brand

Add `postrelease` make recipe to show dev version number in app

parent 9a7dd998
...@@ -103,6 +103,10 @@ release: ...@@ -103,6 +103,10 @@ release:
make build make build
npm run pack npm run pack
.PHONY: postrelease
postrelease:
$(SED) -i '/^_converse.VERSION_NAME =/s/=.*/= "v$(VERSION)dev";/' src/headless/converse-core.js
######################################################################## ########################################################################
## Install dependencies ## Install dependencies
......
...@@ -17,3 +17,4 @@ ...@@ -17,3 +17,4 @@
* Do the same for the root dir * Do the same for the root dir
11. Run `npm publish && cd src/headless/ && npm publish` 11. Run `npm publish && cd src/headless/ && npm publish`
12. Update the repository on weblate 12. Update the repository on weblate
13. Decide on next release number and run `make postrelease VERSION=5.0.1`
...@@ -104,7 +104,7 @@ const _converse = { ...@@ -104,7 +104,7 @@ const _converse = {
'promises': {} 'promises': {}
} }
_converse.VERSION_NAME = 'v4.2.0'; _converse.VERSION_NAME = "v5.0.0dev";
Object.assign(_converse, Backbone.Events); Object.assign(_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