From 621612d12634b04fcb65cf4b394044505659168d Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 23 Jun 2023 10:39:32 +0200 Subject: [PATCH] Postrelease --- Makefile | 2 +- RELEASE.md | 17 +++++++++-------- src/headless/shared/constants.js | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 124856299..e302db883 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ release: .PHONY: postrelease postrelease: - $(SED) -i '/^_converse.VERSION_NAME =/s/=.*/= "v$(VERSION)dev";/' src/headless/core.js + $(SED) -i '/^export const VERSION_NAME =/s/=.*/= "v$(VERSION)dev";/' src/headless/shared/constants.js .PHONY: deploy deploy: diff --git a/RELEASE.md b/RELEASE.md index b94873547..97108d321 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -2,16 +2,17 @@ 1. Check that weblate translations are all merged in 2. Run `make check` to check that all tests pass. -3. Run `make release VERSION=10.1.2` +3. Run `make release VERSION=10.1.3` 4. Do a `git diff` to check if things look sane. 5. Do a quick manual test with the `dist` files (via `index.html`) -6. `git commit -am "Release 10.1.2"` -7. `git tag -s v10.1.2 -m "Release 10.1.2"` -8. Run `git push && git push origin v10.1.2` +6. `git commit -am "Release 10.1.3"` +7. `git tag -s v10.1.3 -m "Release 10.1.3"` +8. Run `git push && git push origin v10.1.3` 9. Update https://conversejs.org * `cd /home/conversejs/converse.js` - * `make deploy VERSION=10.1.2` + * `make deploy VERSION=10.1.3` 10. Update release page on Github -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=10.1.3` +11. `cd release && git fetch && git co v10.1.3` +12. Run `npm publish && cd src/headless/ && npm publish` +13. Update the repository on weblate +14. Decide on next release number and run `make postrelease VERSION=10.1.4` diff --git a/src/headless/shared/constants.js b/src/headless/shared/constants.js index 66a21b34f..f5cce1b21 100644 --- a/src/headless/shared/constants.js +++ b/src/headless/shared/constants.js @@ -1,7 +1,7 @@ import { Strophe } from 'strophe.js/src/strophe'; export const BOSH_WAIT = 59; -export const VERSION_NAME = "v10.1.3"; +export const VERSION_NAME = "v10.1.4dev"; export const STATUS_WEIGHTS = { offline: 6,