Postrelease

This commit is contained in:
JC Brand 2023-06-23 10:39:32 +02:00
parent 536350155d
commit 621612d126
3 changed files with 11 additions and 10 deletions

View File

@ -110,7 +110,7 @@ release:
.PHONY: postrelease .PHONY: postrelease
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 .PHONY: deploy
deploy: deploy:

View File

@ -2,16 +2,17 @@
1. Check that weblate translations are all merged in 1. Check that weblate translations are all merged in
2. Run `make check` to check that all tests pass. 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. 4. Do a `git diff` to check if things look sane.
5. Do a quick manual test with the `dist` files (via `index.html`) 5. Do a quick manual test with the `dist` files (via `index.html`)
6. `git commit -am "Release 10.1.2"` 6. `git commit -am "Release 10.1.3"`
7. `git tag -s v10.1.2 -m "Release 10.1.2"` 7. `git tag -s v10.1.3 -m "Release 10.1.3"`
8. Run `git push && git push origin v10.1.2` 8. Run `git push && git push origin v10.1.3`
9. Update https://conversejs.org 9. Update https://conversejs.org
* `cd /home/conversejs/converse.js` * `cd /home/conversejs/converse.js`
* `make deploy VERSION=10.1.2` * `make deploy VERSION=10.1.3`
10. Update release page on Github 10. Update release page on Github
11. Run `npm publish && cd src/headless/ && npm publish` 11. `cd release && git fetch && git co v10.1.3`
12. Update the repository on weblate 12. Run `npm publish && cd src/headless/ && npm publish`
13. Decide on next release number and run `make postrelease VERSION=10.1.3` 13. Update the repository on weblate
14. Decide on next release number and run `make postrelease VERSION=10.1.4`

View File

@ -1,7 +1,7 @@
import { Strophe } from 'strophe.js/src/strophe'; import { Strophe } from 'strophe.js/src/strophe';
export const BOSH_WAIT = 59; export const BOSH_WAIT = 59;
export const VERSION_NAME = "v10.1.3"; export const VERSION_NAME = "v10.1.4dev";
export const STATUS_WEIGHTS = { export const STATUS_WEIGHTS = {
offline: 6, offline: 6,