JC Brand 2 lat temu
rodzic
commit
621612d126
3 zmienionych plików z 11 dodań i 10 usunięć
  1. 1 1
      Makefile
  2. 9 8
      RELEASE.md
  3. 1 1
      src/headless/shared/constants.js

+ 1 - 1
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:

+ 9 - 8
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`

+ 1 - 1
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,