Add postrelease
make recipe to show dev version number in app
This commit is contained in:
parent
9a7dd99889
commit
c5193be44b
4
Makefile
4
Makefile
@ -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 @@
|
|||||||
* 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 = {
|
|||||||
'promises': {}
|
'promises': {}
|
||||||
}
|
}
|
||||||
|
|
||||||
_converse.VERSION_NAME = 'v4.2.0';
|
_converse.VERSION_NAME = "v5.0.0dev";
|
||||||
|
|
||||||
Object.assign(_converse, Backbone.Events);
|
Object.assign(_converse, Backbone.Events);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user